#CEABFC#CEABFC

#CEABFC is a light, moderate violet. Relative luminance 0.493; OKLCH L 80.1% C 0.118 H 303.7°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#CEABFC
RGBrgb(206, 171, 252)
HSLhsl(266, 93%, 83%)
HSVhsv(266, 32%, 99%)
CMYKcmyk(18.3%, 32.1%, 0%, 1.2%)
CIE-LABlab(75.62, 28.16, -35.49)
CIE-LCHlch(75.62, 45.31, 308.42°)
OKLaboklab(80.09% 0.0652 -0.0979)
OKLCHoklch(80.09% 0.118 303.7)
XYZxyz(57.5836, 49.2760, 98.5542)
Luminance0.4928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEABFC #D9FCAB
analogous
#ABB0FC #CEABFC #F6ABFC
triadic
#CEABFC #FCCEAB #ABFCCE
tetradic
#CEABFC #FCABB0 #D9FCAB #ABFCF6
square
#CEABFC #FCABB0 #D9FCAB #ABFCF6
split-complementary
#CEABFC #FCF6AB #B0FCAB
monochromatic
#8935F8 #AC70FA #CEABFC #EEE1FE #EEE1FE

Accessibility & contrast

On white

1.93
#CEABFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#CEABFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEABFC
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEABFC#FFFFFF#000000##000000
##CEABFC1.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB9FF
Deuteranopia (green-blind)
#A1BAFA
Tritanopia (blue-blind)
#C7B7C8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ceabfc;
/* rgb */ color: rgb(206, 171, 252);
/* oklch */ color: oklch(80.1% 0.118 303.7);
Tailwind
colors: {
  custom: {
    50: '#dec4fd',
    500: '#ceabfc',
    950: '#000000',
  },
}
SCSS
$custom: #ceabfc;
$custom-light: #dec4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ceabfc",
  "rgb": {
    "r": 206,
    "g": 171,
    "b": 252
  },
  "hsl": {
    "h": 265.926,
    "s": 93.103,
    "l": 82.941
  },
  "oklch": {
    "l": 0.80092,
    "c": 0.11762,
    "h": 303.7
  },
  "luminance": 0.49276
}

Semantic roles & 50–950 ramp

primary
#CEABFC
secondary
#E8F6D5
accent
#E60082
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #CEABFC

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

Preview Lab → · Contrast checker → · Palette generator →

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