#C8ABFF#C8ABFF

#C8ABFF is a light, vivid violet. Relative luminance 0.486; OKLCH L 79.7% C 0.120 H 299.5°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#C8ABFF
RGBrgb(200, 171, 255)
HSLhsl(261, 100%, 84%)
HSVhsv(261, 33%, 100%)
CMYKcmyk(21.6%, 32.9%, 0%, 0%)
CIE-LABlab(75.22, 27.05, -37.78)
CIE-LCHlch(75.22, 46.47, 305.61°)
OKLaboklab(79.7% 0.0592 -0.1045)
OKLCHoklch(79.7% 0.12 299.5)
XYZxyz(56.4284, 48.6249, 101.0011)
Luminance0.4863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8ABFF #E2FFAB
analogous
#ABB8FF #C8ABFF #F2ABFF
triadic
#C8ABFF #FFC8AB #ABFFC8
tetradic
#C8ABFF #FFABB8 #E2FFAB #ABFFF2
square
#C8ABFF #FFABB8 #E2FFAB #ABFFF2
split-complementary
#C8ABFF #FFF2AB #B8FFAB
monochromatic
#7831FF #A06EFF #C8ABFF #EBE0FF #EBE0FF

Accessibility & contrast

On white

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

On black

10.73
#C8ABFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8ABFF
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8ABFF#FFFFFF#000000##000000
##C8ABFF1.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8abff;
/* rgb */ color: rgb(200, 171, 255);
/* oklch */ color: oklch(79.7% 0.120 299.5);
Tailwind
colors: {
  custom: {
    50: '#dac4ff',
    500: '#c8abff',
    950: '#000000',
  },
}
SCSS
$custom: #c8abff;
$custom-light: #dac4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c8abff",
  "rgb": {
    "r": 200,
    "g": 171,
    "b": 255
  },
  "hsl": {
    "h": 260.714,
    "s": 100,
    "l": 83.529
  },
  "oklch": {
    "l": 0.79696,
    "c": 0.12014,
    "h": 299.5
  },
  "luminance": 0.48625
}

Semantic roles & 50–950 ramp

primary
#C8ABFF
secondary
#EBF7D4
accent
#E60096
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151218
muted
#838186

Preview Lab

Preview with #C8ABFF

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

Preview Lab → · Contrast checker → · Palette generator →

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