#CEA8FA#CEA8FA

#CEA8FA is a light, vivid violet. Relative luminance 0.480; OKLCH L 79.5% C 0.120 H 305.1°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#CEA8FA
RGBrgb(206, 168, 250)
HSLhsl(268, 89%, 82%)
HSVhsv(268, 33%, 98%)
CMYKcmyk(17.6%, 32.8%, 0%, 2%)
CIE-LABlab(74.84, 29.36, -35.62)
CIE-LCHlch(74.84, 46.16, 309.50°)
OKLaboklab(79.47% 0.069 -0.0982)
OKLCHoklch(79.47% 0.12 305.1)
XYZxyz(56.7081, 48.0294, 96.7071)
Luminance0.4803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEA8FA #D4FAA8
analogous
#A8ABFA #CEA8FA #F7A8FA
triadic
#CEA8FA #FACEA8 #A8FACE
tetradic
#CEA8FA #FAA8AB #D4FAA8 #A8FAF7
square
#CEA8FA #FAA8AB #D4FAA8 #A8FAF7
split-complementary
#CEA8FA #FAF7A8 #ABFAA8
monochromatic
#8D34F3 #AD6EF7 #CEA8FA #EFE2FD #EFE2FD

Accessibility & contrast

On white

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

On black

10.61
#CEA8FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEA8FA
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEA8FA#FFFFFF#000000##000000
##CEA8FA1.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cea8fa;
/* rgb */ color: rgb(206, 168, 250);
/* oklch */ color: oklch(79.5% 0.120 305.1);
Tailwind
colors: {
  custom: {
    50: '#dec2fc',
    500: '#cea8fa',
    950: '#000000',
  },
}
SCSS
$custom: #cea8fa;
$custom-light: #dec2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cea8fa",
  "rgb": {
    "r": 206,
    "g": 168,
    "b": 250
  },
  "hsl": {
    "h": 267.805,
    "s": 89.13,
    "l": 81.961
  },
  "oklch": {
    "l": 0.79471,
    "c": 0.12002,
    "h": 305.1
  },
  "luminance": 0.48029
}

Semantic roles & 50–950 ramp

primary
#CEA8FA
secondary
#E7F5D6
accent
#E6007B
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CEA8FA

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

Preview Lab → · Contrast checker → · Palette generator →

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