#CEA5FB#CEA5FB

#CEA5FB is a light, vivid violet. Relative luminance 0.470; OKLCH L 79.0% C 0.126 H 305.6°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#CEA5FB
RGBrgb(206, 165, 251)
HSLhsl(269, 91%, 82%)
HSVhsv(269, 34%, 98%)
CMYKcmyk(17.9%, 34.3%, 0%, 1.6%)
CIE-LABlab(74.19, 31.22, -37.18)
CIE-LCHlch(74.19, 48.55, 310.02°)
OKLaboklab(78.98% 0.0734 -0.1027)
OKLCHoklch(78.98% 0.126 305.6)
XYZxyz(56.3179, 46.9974, 97.3526)
Luminance0.4700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEA5FB #D2FBA5
analogous
#A5A7FB #CEA5FB #F9A5FB
triadic
#CEA5FB #FBCEA5 #A5FBCE
tetradic
#CEA5FB #FBA5A7 #D2FBA5 #A5FBF9
square
#CEA5FB #FBA5A7 #D2FBA5 #A5FBF9
split-complementary
#CEA5FB #FBF9A5 #A7FBA5
monochromatic
#8E30F6 #AE6AF8 #CEA5FB #EEE0FE #EFE2FE

Accessibility & contrast

On white

2.02
#CEA5FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#CEA5FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEA5FB
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEA5FB#FFFFFF#000000##000000
##CEA5FB1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B5FE
Deuteranopia (green-blind)
#9CB7F9
Tritanopia (blue-blind)
#C7B2C5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cea5fb;
/* rgb */ color: rgb(206, 165, 251);
/* oklch */ color: oklch(79.0% 0.126 305.6);
Tailwind
colors: {
  custom: {
    50: '#dec0fd',
    500: '#cea5fb',
    950: '#000000',
  },
}
SCSS
$custom: #cea5fb;
$custom-light: #dec0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cea5fb",
  "rgb": {
    "r": 206,
    "g": 165,
    "b": 251
  },
  "hsl": {
    "h": 268.605,
    "s": 91.489,
    "l": 81.569
  },
  "oklch": {
    "l": 0.78984,
    "c": 0.12621,
    "h": 305.6
  },
  "luminance": 0.46997
}

Semantic roles & 50–950 ramp

primary
#CEA5FB
secondary
#E6F6D5
accent
#E60078
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CEA5FB

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

Preview Lab → · Contrast checker → · Palette generator →

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