#CEA1FB#CEA1FB

#CEA1FB is a light, vivid violet. Relative luminance 0.456; OKLCH L 78.3% C 0.133 H 306.5°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#CEA1FB
RGBrgb(206, 161, 251)
HSLhsl(270, 92%, 81%)
HSVhsv(270, 36%, 98%)
CMYKcmyk(17.9%, 35.9%, 0%, 1.6%)
CIE-LABlab(73.27, 33.40, -38.60)
CIE-LCHlch(73.27, 51.05, 310.87°)
OKLaboklab(78.29% 0.079 -0.1067)
OKLCHoklch(78.29% 0.133 306.5)
XYZxyz(55.6077, 45.5770, 97.1158)
Luminance0.4558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEA1FB #CEFBA1
analogous
#A1A1FB #CEA1FB #FBA1FB
triadic
#CEA1FB #FBCEA1 #A1FBCE
tetradic
#CEA1FB #FBA1A1 #CEFBA1 #A1FBFB
square
#CEA1FB #FBA1A1 #CEFBA1 #A1FBFB
split-complementary
#CEA1FB #FBFBA1 #A1FBA1
monochromatic
#912CF6 #AF66F9 #CEA1FB #EDDCFD #F0E2FE

Accessibility & contrast

On white

2.08
#CEA1FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#CEA1FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEA1FB
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEA1FB#FFFFFF#000000##000000
##CEA1FB1.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB2FE
Deuteranopia (green-blind)
#98B4F8
Tritanopia (blue-blind)
#C8AEC2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cea1fb;
/* rgb */ color: rgb(206, 161, 251);
/* oklch */ color: oklch(78.3% 0.133 306.5);
Tailwind
colors: {
  custom: {
    50: '#debdfd',
    500: '#cea1fb',
    950: '#000000',
  },
}
SCSS
$custom: #cea1fb;
$custom-light: #debdfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cea1fb",
  "rgb": {
    "r": 206,
    "g": 161,
    "b": 251
  },
  "hsl": {
    "h": 270,
    "s": 91.837,
    "l": 80.784
  },
  "oklch": {
    "l": 0.78286,
    "c": 0.13281,
    "h": 306.5
  },
  "luminance": 0.45577
}

Semantic roles & 50–950 ramp

primary
#CEA1FB
secondary
#E6F6D5
accent
#E60073
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CEA1FB

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

Preview Lab → · Contrast checker → · Palette generator →

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