#C8A1EF#C8A1EF

#C8A1EF is a light, moderate violet. Relative luminance 0.440; OKLCH L 77.2% C 0.116 H 306.8°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#C8A1EF
RGBrgb(200, 161, 239)
HSLhsl(270, 71%, 78%)
HSVhsv(270, 33%, 94%)
CMYKcmyk(16.3%, 32.6%, 0%, 6.3%)
CIE-LABlab(72.23, 29.01, -33.75)
CIE-LCHlch(72.23, 44.50, 310.68°)
OKLaboklab(77.21% 0.0694 -0.0929)
OKLCHoklch(77.21% 0.116 306.8)
XYZxyz(52.1413, 44.0014, 87.3909)
Luminance0.4400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A1EF #C8EFA1
analogous
#A1A1EF #C8A1EF #EFA1EF
triadic
#C8A1EF #EFC8A1 #A1EFC8
tetradic
#C8A1EF #EFA1A1 #C8EFA1 #A1EFEF
square
#C8A1EF #EFA1A1 #C8EFA1 #A1EFEF
split-complementary
#C8A1EF #EFEFA1 #A1EFA1
monochromatic
#8B38DD #A96DE6 #C8A1EF #E7D5F8 #F0E5FB

Accessibility & contrast

On white

2.14
#C8A1EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#C8A1EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A1EF
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A1EF#FFFFFF#000000##000000
##C8A1EF1.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B0F2
Deuteranopia (green-blind)
#9AB1ED
Tritanopia (blue-blind)
#C3ACBD
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c8a1ef;
/* rgb */ color: rgb(200, 161, 239);
/* oklch */ color: oklch(77.2% 0.116 306.8);
Tailwind
colors: {
  custom: {
    50: '#d9bdf4',
    500: '#c8a1ef',
    950: '#000000',
  },
}
SCSS
$custom: #c8a1ef;
$custom-light: #d9bdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a1ef",
  "rgb": {
    "r": 200,
    "g": 161,
    "b": 239
  },
  "hsl": {
    "h": 270,
    "s": 70.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.77205,
    "c": 0.116,
    "h": 306.8
  },
  "luminance": 0.44001
}

Semantic roles & 50–950 ramp

primary
#C8A1EF
secondary
#E6F2D9
accent
#D31373
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #C8A1EF

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

Preview Lab → · Contrast checker → · Palette generator →

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