#A87EED

A color in the Violet family

#a87eed is a color in the Violet family: RGB(168, 126, 237), HSL(263°, 76%, 71%), CMYK(29%, 47%, 0%, 7%). Closest named color: mediumpurple. Contrast is 3.06:1 on white and 6.87:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a87eed
RGBrgb(168 126 237)
RGB (legacy)rgb(168, 126, 237)
RGB %rgb(66% 49% 93%)
HSLhsl(263 76% 71%)
HSV / HSBhsv(263, 47%, 93%)
HWBhwb(263 49% 7%)
CMYKcmyk(29%, 47%, 0%, 7%)
CIELAB (D50)lab(60.61 33.87 -50.76)
LCHlch(60.61 61.02 303.71)
OKLaboklab(0.6805 0.0801 -0.1413)
OKLCHoklch(0.6805 0.1624 299.54)
Decimal11042541

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 5.4
Closest web-safe color#9966ff
Hue263°
Saturation (HSL / HSV)76% / 47%
Lightness (HSL)71%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)59% / 56%
Relative luminance (WCAG)0.2936
Red / Green / Blue168 / 126 / 237

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.06:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.87:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 57.2 / -44.6 · As background with white / black text: Lc -62.6 / 46.8

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #a87eed;
  --color-brand-oklch: oklch(68.05% 0.1624 299.54);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(168 126 237 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a87eed] text-[#a87eed] border-[#a87eed]">