#C8A2EB

A color in the Purple, Crimson, Magenta family

#c8a2eb is a color in the Purple, Crimson, Magenta family: RGB(200, 162, 235), HSL(271°, 65%, 78%), CMYK(15%, 31%, 0%, 8%). Closest named color: plum. Contrast is 2.14:1 on white and 9.82:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#c8a2eb
RGBrgb(200 162 235)
RGB (legacy)rgb(200, 162, 235)
RGB %rgb(78% 64% 92%)
HSLhsl(271 65% 78%)
HSV / HSBhsv(271, 31%, 92%)
HWBhwb(271 64% 8%)
CMYKcmyk(15%, 31%, 0%, 8%)
CIELAB (D50)lab(72.09 24.63 -31.54)
LCHlch(72.09 40.02 307.99)
OKLaboklab(0.7721 0.067 -0.0864)
OKLCHoklch(0.7721 0.1093 307.79)
Decimal13148907

Properties

Color TonePurple, Crimson, Magenta
Closest named colorplum ΔE 3.7
Closest web-safe color#cc99ff
Hue271°
Saturation (HSL / HSV)65% / 31%
Lightness (HSL)78%
Brightness or Value (HSV)92%
Luminance (Rec.601 / Rec.709)71% / 69%
Relative luminance (WCAG)0.4412
Red / Green / Blue200 / 162 / 235

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 41.9 / -60.3 · As background with white / black text: Lc -46.6 / 62.1

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: #c8a2eb;
  --color-brand-oklch: oklch(77.21% 0.1093 307.79);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(200 162 235 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c8a2eb] text-[#c8a2eb] border-[#c8a2eb]">