#C8ABFB#C8ABFB

#C8ABFB is a light, moderate violet. Relative luminance 0.484; OKLCH L 79.5% C 0.115 H 300.5°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#C8ABFB
RGBrgb(200, 171, 251)
HSLhsl(262, 91%, 83%)
HSVhsv(262, 32%, 98%)
CMYKcmyk(20.3%, 31.9%, 0%, 1.6%)
CIE-LABlab(75.06, 26.15, -35.87)
CIE-LCHlch(75.06, 44.39, 306.10°)
OKLaboklab(79.52% 0.0583 -0.0991)
OKLCHoklch(79.52% 0.115 300.5)
XYZxyz(55.7912, 48.3701, 97.6452)
Luminance0.4837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8ABFB #DEFBAB
analogous
#ABB6FB #C8ABFB #F0ABFB
triadic
#C8ABFB #FBC8AB #ABFBC8
tetradic
#C8ABFB #FBABB6 #DEFBAB #ABFBF0
square
#C8ABFB #FBABB6 #DEFBAB #ABFBF0
split-complementary
#C8ABFB #FBF0AB #B6FBAB
monochromatic
#7B36F5 #A271F8 #C8ABFB #ECE2FE #ECE2FE

Accessibility & contrast

On white

1.97
#C8ABFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#C8ABFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8ABFB
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8ABFB#FFFFFF#000000##000000
##C8ABFB1.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B8FE
Deuteranopia (green-blind)
#9EB8F9
Tritanopia (blue-blind)
#BFB7C8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c8abfb;
/* rgb */ color: rgb(200, 171, 251);
/* oklch */ color: oklch(79.5% 0.115 300.5);
Tailwind
colors: {
  custom: {
    50: '#d9c4fd',
    500: '#c8abfb',
    950: '#000000',
  },
}
SCSS
$custom: #c8abfb;
$custom-light: #d9c4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c8abfb",
  "rgb": {
    "r": 200,
    "g": 171,
    "b": 251
  },
  "hsl": {
    "h": 261.75,
    "s": 90.909,
    "l": 82.745
  },
  "oklch": {
    "l": 0.79522,
    "c": 0.11493,
    "h": 300.5
  },
  "luminance": 0.4837
}

Semantic roles & 50–950 ramp

primary
#C8ABFB
secondary
#EAF6D5
accent
#E60092
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8ABFB

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

Preview Lab → · Contrast checker → · Palette generator →

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