#C8A7EF#C8A7EF

#C8A7EF is a light, moderate violet. Relative luminance 0.461; OKLCH L 78.3% C 0.106 H 305.1°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#C8A7EF
RGBrgb(200, 167, 239)
HSLhsl(268, 69%, 80%)
HSVhsv(268, 30%, 94%)
CMYKcmyk(16.3%, 30.1%, 0%, 6.3%)
CIE-LABlab(73.64, 25.71, -31.56)
CIE-LCHlch(73.64, 40.71, 309.17°)
OKLaboklab(78.28% 0.0609 -0.0867)
OKLCHoklch(78.28% 0.106 305.1)
XYZxyz(53.2151, 46.1490, 87.7488)
Luminance0.4615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A7EF #CEEFA7
analogous
#A7AAEF #C8A7EF #ECA7EF
triadic
#C8A7EF #EFC8A7 #A7EFC8
tetradic
#C8A7EF #EFA7AA #CEEFA7 #A7EFEC
square
#C8A7EF #EFA7AA #CEEFA7 #A7EFEC
split-complementary
#C8A7EF #EFECA7 #AAEFA7
monochromatic
#873FDC #A873E6 #C8A7EF #E8DBF8 #EFE5FA

Accessibility & contrast

On white

2.05
#C8A7EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#C8A7EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A7EF
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A7EF#FFFFFF#000000##000000
##C8A7EF1.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B4F2
Deuteranopia (green-blind)
#9FB5ED
Tritanopia (blue-blind)
#C2B1C1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c8a7ef;
/* rgb */ color: rgb(200, 167, 239);
/* oklch */ color: oklch(78.3% 0.106 305.1);
Tailwind
colors: {
  custom: {
    50: '#d9c1f4',
    500: '#c8a7ef',
    950: '#000000',
  },
}
SCSS
$custom: #c8a7ef;
$custom-light: #d9c1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a7ef",
  "rgb": {
    "r": 200,
    "g": 167,
    "b": 239
  },
  "hsl": {
    "h": 267.5,
    "s": 69.231,
    "l": 79.608
  },
  "oklch": {
    "l": 0.78284,
    "c": 0.10597,
    "h": 305.1
  },
  "luminance": 0.46149
}

Semantic roles & 50–950 ramp

primary
#C8A7EF
secondary
#E7F2D9
accent
#D1147B
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #C8A7EF

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

Preview Lab → · Contrast checker → · Palette generator →

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