#C8A8EE#C8A8EE

#C8A8EE is a light, moderate violet. Relative luminance 0.465; OKLCH L 78.4% C 0.103 H 305.0°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#C8A8EE
RGBrgb(200, 168, 238)
HSLhsl(267, 67%, 80%)
HSVhsv(267, 29%, 93%)
CMYKcmyk(16%, 29.4%, 0%, 6.7%)
CIE-LABlab(73.84, 24.95, -30.71)
CIE-LCHlch(73.84, 39.57, 309.08°)
OKLaboklab(78.43% 0.0592 -0.0843)
OKLCHoklch(78.43% 0.103 305)
XYZxyz(53.2516, 46.4579, 87.0342)
Luminance0.4646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A8EE #CEEEA8
analogous
#A8ABEE #C8A8EE #EBA8EE
triadic
#C8A8EE #EEC8A8 #A8EEC8
tetradic
#C8A8EE #EEA8AB #CEEEA8 #A8EEEB
square
#C8A8EE #EEA8AB #CEEEA8 #A8EEEB
split-complementary
#C8A8EE #EEEBA8 #ABEEA8
monochromatic
#8742DA #A875E4 #C8A8EE #E8DBF8 #EFE5FA

Accessibility & contrast

On white

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

On black

10.29
#C8A8EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A8EE
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A8EE#FFFFFF#000000##000000
##C8A8EE1.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB4F1
Deuteranopia (green-blind)
#A1B6EC
Tritanopia (blue-blind)
#C2B2C1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c8a8ee;
/* rgb */ color: rgb(200, 168, 238);
/* oklch */ color: oklch(78.4% 0.103 305.0);
Tailwind
colors: {
  custom: {
    50: '#d9c2f3',
    500: '#c8a8ee',
    950: '#000000',
  },
}
SCSS
$custom: #c8a8ee;
$custom-light: #d9c2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a8ee",
  "rgb": {
    "r": 200,
    "g": 168,
    "b": 238
  },
  "hsl": {
    "h": 267.429,
    "s": 67.308,
    "l": 79.608
  },
  "oklch": {
    "l": 0.78425,
    "c": 0.10302,
    "h": 305
  },
  "luminance": 0.46458
}

Semantic roles & 50–950 ramp

primary
#C8A8EE
secondary
#E7F2D9
accent
#CF167B
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #C8A8EE

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

Preview Lab → · Contrast checker → · Palette generator →

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