#C8ABEF#C8ABEF

#C8ABEF is a light, moderate violet. Relative luminance 0.476; OKLCH L 79.0% C 0.099 H 303.7°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#C8ABEF
RGBrgb(200, 171, 239)
HSLhsl(266, 68%, 80%)
HSVhsv(266, 28%, 94%)
CMYKcmyk(16.3%, 28.5%, 0%, 6.3%)
CIE-LABlab(74.60, 23.51, -30.09)
CIE-LCHlch(74.60, 38.19, 308.00°)
OKLaboklab(79.02% 0.0552 -0.0826)
OKLCHoklch(79.02% 0.099 303.7)
XYZxyz(53.9592, 47.6373, 87.9968)
Luminance0.4764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8ABEF #D2EFAB
analogous
#ABB0EF #C8ABEF #EAABEF
triadic
#C8ABEF #EFC8AB #ABEFC8
tetradic
#C8ABEF #EFABB0 #D2EFAB #ABEFEA
square
#C8ABEF #EFABB0 #D2EFAB #ABEFEA
split-complementary
#C8ABEF #EFEAAB #B0EFAB
monochromatic
#8544DB #A678E5 #C8ABEF #EADEF9 #EEE5FA

Accessibility & contrast

On white

1.99
#C8ABEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#C8ABEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8ABEF
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8ABEF#FFFFFF#000000##000000
##C8ABEF1.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB7F2
Deuteranopia (green-blind)
#A3B8ED
Tritanopia (blue-blind)
#C2B5C3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c8abef;
/* rgb */ color: rgb(200, 171, 239);
/* oklch */ color: oklch(79.0% 0.099 303.7);
Tailwind
colors: {
  custom: {
    50: '#d9c4f4',
    500: '#c8abef',
    950: '#000000',
  },
}
SCSS
$custom: #c8abef;
$custom-light: #d9c4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c8abef",
  "rgb": {
    "r": 200,
    "g": 171,
    "b": 239
  },
  "hsl": {
    "h": 265.588,
    "s": 68,
    "l": 80.392
  },
  "oklch": {
    "l": 0.79015,
    "c": 0.09933,
    "h": 303.7
  },
  "luminance": 0.47637
}

Semantic roles & 50–950 ramp

primary
#C8ABEF
secondary
#E7F2D9
accent
#D01680
background
#FDFCFE
surface
#FAF8FD
border
#D3D1D5
text
#151217
muted
#838185

Preview Lab

Preview with #C8ABEF

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

Preview Lab → · Contrast checker → · Palette generator →

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