#C8A5EF#C8A5EF

#C8A5EF is a light, moderate violet. Relative luminance 0.454; OKLCH L 77.9% C 0.109 H 305.7°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#C8A5EF
RGBrgb(200, 165, 239)
HSLhsl(268, 70%, 79%)
HSVhsv(268, 31%, 94%)
CMYKcmyk(16.3%, 31%, 0%, 6.3%)
CIE-LABlab(73.17, 26.81, -32.29)
CIE-LCHlch(73.17, 41.97, 309.70°)
OKLaboklab(77.92% 0.0637 -0.0888)
OKLCHoklch(77.92% 0.109 305.7)
XYZxyz(52.8515, 45.4219, 87.6276)
Luminance0.4542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A5EF #CCEFA5
analogous
#A5A7EF #C8A5EF #EDA5EF
triadic
#C8A5EF #EFC8A5 #A5EFC8
tetradic
#C8A5EF #EFA5A7 #CCEFA5 #A5EFED
square
#C8A5EF #EFA5A7 #CCEFA5 #A5EFED
split-complementary
#C8A5EF #EFEDA5 #A7EFA5
monochromatic
#883DDD #A871E6 #C8A5EF #E8D9F8 #EFE5FA

Accessibility & contrast

On white

2.08
#C8A5EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#C8A5EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A5EF
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A5EF#FFFFFF#000000##000000
##C8A5EF1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B2F2
Deuteranopia (green-blind)
#9DB4ED
Tritanopia (blue-blind)
#C2B0C0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8a5ef;
/* rgb */ color: rgb(200, 165, 239);
/* oklch */ color: oklch(77.9% 0.109 305.7);
Tailwind
colors: {
  custom: {
    50: '#d9c0f4',
    500: '#c8a5ef',
    950: '#000000',
  },
}
SCSS
$custom: #c8a5ef;
$custom-light: #d9c0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a5ef",
  "rgb": {
    "r": 200,
    "g": 165,
    "b": 239
  },
  "hsl": {
    "h": 268.378,
    "s": 69.811,
    "l": 79.216
  },
  "oklch": {
    "l": 0.77922,
    "c": 0.10931,
    "h": 305.7
  },
  "luminance": 0.45422
}

Semantic roles & 50–950 ramp

primary
#C8A5EF
secondary
#E6F2D9
accent
#D21478
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #C8A5EF

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

Preview Lab → · Contrast checker → · Palette generator →

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