#C8ABFE#C8ABFE

#C8ABFE is a light, moderate violet. Relative luminance 0.486; OKLCH L 79.7% C 0.119 H 299.8°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#C8ABFE
RGBrgb(200, 171, 254)
HSLhsl(261, 98%, 83%)
HSVhsv(261, 33%, 100%)
CMYKcmyk(21.3%, 32.7%, 0%, 0.4%)
CIE-LABlab(75.18, 26.83, -37.30)
CIE-LCHlch(75.18, 45.95, 305.72°)
OKLaboklab(79.65% 0.059 -0.1032)
OKLCHoklch(79.65% 0.119 299.8)
XYZxyz(56.2678, 48.5607, 100.1555)
Luminance0.4856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8ABFE #E1FEAB
analogous
#ABB7FE #C8ABFE #F1ABFE
triadic
#C8ABFE #FEC8AB #ABFEC8
tetradic
#C8ABFE #FEABB7 #E1FEAB #ABFEF1
square
#C8ABFE #FEABB7 #E1FEAB #ABFEF1
split-complementary
#C8ABFE #FEF1AB #B7FEAB
monochromatic
#7932FD #A06FFD #C8ABFE #EBE1FF #EBE1FF

Accessibility & contrast

On white

1.96
#C8ABFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#C8ABFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8ABFE
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8ABFE#FFFFFF#000000##000000
##C8ABFE1.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B9FF
Deuteranopia (green-blind)
#9DB9FC
Tritanopia (blue-blind)
#BEB8C9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c8abfe;
/* rgb */ color: rgb(200, 171, 254);
/* oklch */ color: oklch(79.7% 0.119 299.8);
Tailwind
colors: {
  custom: {
    50: '#dac4ff',
    500: '#c8abfe',
    950: '#000000',
  },
}
SCSS
$custom: #c8abfe;
$custom-light: #dac4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c8abfe",
  "rgb": {
    "r": 200,
    "g": 171,
    "b": 254
  },
  "hsl": {
    "h": 260.964,
    "s": 97.647,
    "l": 83.333
  },
  "oklch": {
    "l": 0.79653,
    "c": 0.11884,
    "h": 299.8
  },
  "luminance": 0.48561
}

Semantic roles & 50–950 ramp

primary
#C8ABFE
secondary
#EBF7D4
accent
#E60095
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151218
muted
#838186

Preview Lab

Preview with #C8ABFE

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

Preview Lab → · Contrast checker → · Palette generator →

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