#C8A2EF#C8A2EF

#C8A2EF is a light, moderate violet. Relative luminance 0.444; OKLCH L 77.4% C 0.114 H 306.5°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#C8A2EF
RGBrgb(200, 162, 239)
HSLhsl(270, 71%, 79%)
HSVhsv(270, 32%, 94%)
CMYKcmyk(16.3%, 32.2%, 0%, 6.3%)
CIE-LABlab(72.46, 28.46, -33.38)
CIE-LCHlch(72.46, 43.87, 310.45°)
OKLaboklab(77.38% 0.068 -0.0919)
OKLCHoklch(77.38% 0.114 306.5)
XYZxyz(52.3167, 44.3523, 87.4494)
Luminance0.4435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A2EF #C9EFA2
analogous
#A2A2EF #C8A2EF #EEA2EF
triadic
#C8A2EF #EFC8A2 #A2EFC8
tetradic
#C8A2EF #EFA2A2 #C9EFA2 #A2EFEE
square
#C8A2EF #EFA2A2 #C9EFA2 #A2EFEE
split-complementary
#C8A2EF #EFEEA2 #A2EFA2
monochromatic
#8A3ADD #A96EE6 #C8A2EF #E7D6F8 #F0E5FB

Accessibility & contrast

On white

2.13
#C8A2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#C8A2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A2EF
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A2EF#FFFFFF#000000##000000
##C8A2EF1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B0F2
Deuteranopia (green-blind)
#9BB2ED
Tritanopia (blue-blind)
#C3ADBE
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8a2ef;
/* rgb */ color: rgb(200, 162, 239);
/* oklch */ color: oklch(77.4% 0.114 306.5);
Tailwind
colors: {
  custom: {
    50: '#d9bef4',
    500: '#c8a2ef',
    950: '#000000',
  },
}
SCSS
$custom: #c8a2ef;
$custom-light: #d9bef4;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a2ef",
  "rgb": {
    "r": 200,
    "g": 162,
    "b": 239
  },
  "hsl": {
    "h": 269.61,
    "s": 70.642,
    "l": 78.627
  },
  "oklch": {
    "l": 0.77383,
    "c": 0.11432,
    "h": 306.5
  },
  "luminance": 0.44352
}

Semantic roles & 50–950 ramp

primary
#C8A2EF
secondary
#E6F2D9
accent
#D31374
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #C8A2EF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#C8A2EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva