#C8A8EF#C8A8EF

#C8A8EF is a light, moderate violet. Relative luminance 0.465; OKLCH L 78.5% C 0.104 H 304.7°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#C8A8EF
RGBrgb(200, 168, 239)
HSLhsl(267, 69%, 80%)
HSVhsv(267, 30%, 94%)
CMYKcmyk(16.3%, 29.7%, 0%, 6.3%)
CIE-LABlab(73.88, 25.16, -31.20)
CIE-LCHlch(73.88, 40.08, 308.89°)
OKLaboklab(78.47% 0.0594 -0.0857)
OKLCHoklch(78.47% 0.104 304.7)
XYZxyz(53.3990, 46.5168, 87.8101)
Luminance0.4652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A8EF #CFEFA8
analogous
#A8ACEF #C8A8EF #EBA8EF
triadic
#C8A8EF #EFC8A8 #A8EFC8
tetradic
#C8A8EF #EFA8AC #CFEFA8 #A8EFEB
square
#C8A8EF #EFA8AC #CFEFA8 #A8EFEB
split-complementary
#C8A8EF #EFEBA8 #ACEFA8
monochromatic
#8741DC #A774E5 #C8A8EF #E9DCF9 #EFE5FA

Accessibility & contrast

On white

2.04
#C8A8EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#C8A8EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A8EF
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A8EF#FFFFFF#000000##000000
##C8A8EF1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB5F2
Deuteranopia (green-blind)
#A0B6ED
Tritanopia (blue-blind)
#C2B2C1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c8a8ef;
/* rgb */ color: rgb(200, 168, 239);
/* oklch */ color: oklch(78.5% 0.104 304.7);
Tailwind
colors: {
  custom: {
    50: '#d9c2f4',
    500: '#c8a8ef',
    950: '#000000',
  },
}
SCSS
$custom: #c8a8ef;
$custom-light: #d9c2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a8ef",
  "rgb": {
    "r": 200,
    "g": 168,
    "b": 239
  },
  "hsl": {
    "h": 267.042,
    "s": 68.932,
    "l": 79.804
  },
  "oklch": {
    "l": 0.78466,
    "c": 0.10431,
    "h": 304.7
  },
  "luminance": 0.46517
}

Semantic roles & 50–950 ramp

primary
#C8A8EF
secondary
#E7F2D9
accent
#D1157C
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #C8A8EF

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

Preview Lab → · Contrast checker → · Palette generator →

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