#CEA8FB#CEA8FB

#CEA8FB is a light, vivid violet. Relative luminance 0.481; OKLCH L 79.5% C 0.121 H 304.8°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#CEA8FB
RGBrgb(206, 168, 251)
HSLhsl(267, 91%, 82%)
HSVhsv(267, 33%, 98%)
CMYKcmyk(17.9%, 33.1%, 0%, 1.6%)
CIE-LABlab(74.88, 29.58, -36.10)
CIE-LCHlch(74.88, 46.67, 309.33°)
OKLaboklab(79.51% 0.0692 -0.0996)
OKLCHoklch(79.51% 0.121 304.8)
XYZxyz(56.8653, 48.0923, 97.5351)
Luminance0.4809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEA8FB #D5FBA8
analogous
#A8ACFB #CEA8FB #F8A8FB
triadic
#CEA8FB #FBCEA8 #A8FBCE
tetradic
#CEA8FB #FBA8AC #D5FBA8 #A8FBF8
square
#CEA8FB #FBA8AC #D5FBA8 #A8FBF8
split-complementary
#CEA8FB #FBF8A8 #ACFBA8
monochromatic
#8C33F6 #AD6DF8 #CEA8FB #EFE2FE #EFE2FE

Accessibility & contrast

On white

1.98
#CEA8FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#CEA8FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEA8FB
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEA8FB#FFFFFF#000000##000000
##CEA8FB1.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B7FE
Deuteranopia (green-blind)
#9EB8F9
Tritanopia (blue-blind)
#C7B4C6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cea8fb;
/* rgb */ color: rgb(206, 168, 251);
/* oklch */ color: oklch(79.5% 0.121 304.8);
Tailwind
colors: {
  custom: {
    50: '#dec2fd',
    500: '#cea8fb',
    950: '#000000',
  },
}
SCSS
$custom: #cea8fb;
$custom-light: #dec2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cea8fb",
  "rgb": {
    "r": 206,
    "g": 168,
    "b": 251
  },
  "hsl": {
    "h": 267.47,
    "s": 91.209,
    "l": 82.157
  },
  "oklch": {
    "l": 0.79514,
    "c": 0.12128,
    "h": 304.8
  },
  "luminance": 0.48092
}

Semantic roles & 50–950 ramp

primary
#CEA8FB
secondary
#E7F6D5
accent
#E6007C
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CEA8FB

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

Preview Lab → · Contrast checker → · Palette generator →

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