#C8A2EC

A color in the Purple, Crimson, Magenta family

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

Color Codes

HEX#c8a2ec
RGBrgb(200 162 236)
RGB (legacy)rgb(200, 162, 236)
RGB %rgb(78% 64% 93%)
HSLhsl(271 66% 78%)
HSV / HSBhsv(271, 31%, 93%)
HWBhwb(271 64% 7%)
CMYKcmyk(15%, 31%, 0%, 7%)
CIELAB (D50)lab(72.12 24.8 -32.03)
LCHlch(72.12 40.51 307.74)
OKLaboklab(0.7726 0.0672 -0.0878)
OKLCHoklch(0.7726 0.1106 307.45)
Decimal13148908

Properties

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

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.84: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.8 / -60.4 · As background with white / black text: Lc -46.5 / 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: #c8a2ec;
  --color-brand-oklch: oklch(77.26% 0.1106 307.45);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(200 162 236 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c8a2ec] text-[#c8a2ec] border-[#c8a2ec]">