#CEA7FA#CEA7FA

#CEA7FA is a light, vivid violet. Relative luminance 0.477; OKLCH L 79.3% C 0.122 H 305.3°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#CEA7FA
RGBrgb(206, 167, 250)
HSLhsl(268, 89%, 82%)
HSVhsv(268, 33%, 98%)
CMYKcmyk(17.6%, 33.2%, 0%, 2%)
CIE-LABlab(74.61, 29.91, -35.98)
CIE-LCHlch(74.61, 46.79, 309.73°)
OKLaboklab(79.29% 0.0704 -0.0992)
OKLCHoklch(79.29% 0.122 305.3)
XYZxyz(56.5242, 47.6616, 96.6458)
Luminance0.4766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEA7FA #D3FAA7
analogous
#A7AAFA #CEA7FA #F8A7FA
triadic
#CEA7FA #FACEA7 #A7FACE
tetradic
#CEA7FA #FAA7AA #D3FAA7 #A7FAF8
square
#CEA7FA #FAA7AA #D3FAA7 #A7FAF8
split-complementary
#CEA7FA #FAF8A7 #AAFAA7
monochromatic
#8E33F3 #AE6DF7 #CEA7FA #EEE1FD #EFE2FD

Accessibility & contrast

On white

1.99
#CEA7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#CEA7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEA7FA
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEA7FA#FFFFFF#000000##000000
##CEA7FA1.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B6FD
Deuteranopia (green-blind)
#9EB8F8
Tritanopia (blue-blind)
#C8B3C5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cea7fa;
/* rgb */ color: rgb(206, 167, 250);
/* oklch */ color: oklch(79.3% 0.122 305.3);
Tailwind
colors: {
  custom: {
    50: '#dec1fc',
    500: '#cea7fa',
    950: '#000000',
  },
}
SCSS
$custom: #cea7fa;
$custom-light: #dec1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cea7fa",
  "rgb": {
    "r": 206,
    "g": 167,
    "b": 250
  },
  "hsl": {
    "h": 268.193,
    "s": 89.247,
    "l": 81.765
  },
  "oklch": {
    "l": 0.79293,
    "c": 0.12167,
    "h": 305.3
  },
  "luminance": 0.47661
}

Semantic roles & 50–950 ramp

primary
#CEA7FA
secondary
#E6F5D6
accent
#E6007A
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CEA7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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