#CEA7FC#CEA7FC

#CEA7FC is a light, vivid violet. Relative luminance 0.478; OKLCH L 79.4% C 0.124 H 304.8°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#CEA7FC
RGBrgb(206, 167, 252)
HSLhsl(268, 93%, 82%)
HSVhsv(268, 34%, 99%)
CMYKcmyk(18.3%, 33.7%, 0%, 1.2%)
CIE-LABlab(74.69, 30.34, -36.94)
CIE-LCHlch(74.69, 47.80, 309.40°)
OKLaboklab(79.38% 0.0708 -0.102)
OKLCHoklch(79.38% 0.124 304.8)
XYZxyz(56.8395, 47.7877, 98.3061)
Luminance0.4779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEA7FC #D5FCA7
analogous
#A7ABFC #CEA7FC #F8A7FC
triadic
#CEA7FC #FCCEA7 #A7FCCE
tetradic
#CEA7FC #FCA7AB #D5FCA7 #A7FCF8
square
#CEA7FC #FCA7AB #D5FCA7 #A7FCF8
split-complementary
#CEA7FC #FCF8A7 #ABFCA7
monochromatic
#8C31F8 #AD6CFA #CEA7FC #EFE1FE #EFE1FE

Accessibility & contrast

On white

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

On black

10.56
#CEA7FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEA7FC
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEA7FC#FFFFFF#000000##000000
##CEA7FC1.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B7FF
Deuteranopia (green-blind)
#9DB8FA
Tritanopia (blue-blind)
#C7B4C6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cea7fc;
/* rgb */ color: rgb(206, 167, 252);
/* oklch */ color: oklch(79.4% 0.124 304.8);
Tailwind
colors: {
  custom: {
    50: '#dec1fd',
    500: '#cea7fc',
    950: '#000000',
  },
}
SCSS
$custom: #cea7fc;
$custom-light: #dec1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cea7fc",
  "rgb": {
    "r": 206,
    "g": 167,
    "b": 252
  },
  "hsl": {
    "h": 267.529,
    "s": 93.407,
    "l": 82.157
  },
  "oklch": {
    "l": 0.79381,
    "c": 0.12418,
    "h": 304.8
  },
  "luminance": 0.47788
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEA7FC

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

Preview Lab → · Contrast checker → · Palette generator →

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