#CE5AFB#CE5AFB

#CE5AFB is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 68.0% C 0.241 H 315.1°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#CE5AFB
RGBrgb(206, 90, 251)
HSLhsl(283, 95%, 67%)
HSVhsv(283, 64%, 98%)
CMYKcmyk(17.9%, 64.1%, 0%, 1.6%)
CIE-LABlab(59.34, 69.28, -60.59)
CIE-LCHlch(59.34, 92.04, 318.83°)
OKLaboklab(67.96% 0.1711 -0.1702)
OKLCHoklch(67.96% 0.241 315.1)
XYZxyz(46.5196, 27.4008, 94.0865)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE5AFB #87FB5A
analogous
#7E5AFB #CE5AFB #FB5AD7
triadic
#CE5AFB #FBCE5A #5AFBCE
tetradic
#CE5AFB #FB7E5A #87FB5A #5AD7FB
square
#CE5AFB #FB7E5A #87FB5A #5AD7FB
split-complementary
#CE5AFB #D7FB5A #5AFB7E
monochromatic
#9B05D5 #BC1EFA #CE5AFB #E096FC #F1D2FE

Accessibility & contrast

On white

3.24
#CE5AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#CE5AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE5AFB
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE5AFB#FFFFFF#000000##000000
##CE5AFB1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D88FF
Deuteranopia (green-blind)
#5792F7
Tritanopia (blue-blind)
#CB78A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ce5afb;
/* rgb */ color: rgb(206, 90, 251);
/* oklch */ color: oklch(68.0% 0.241 315.1);
Tailwind
colors: {
  custom: {
    50: '#e190fd',
    500: '#ce5afb',
    950: '#000000',
  },
}
SCSS
$custom: #ce5afb;
$custom-light: #e190fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce5afb",
  "rgb": {
    "r": 206,
    "g": 90,
    "b": 251
  },
  "hsl": {
    "h": 283.23,
    "s": 95.266,
    "l": 66.863
  },
  "oklch": {
    "l": 0.67958,
    "c": 0.24133,
    "h": 315.1
  },
  "luminance": 0.27399
}

Semantic roles & 50–950 ramp

primary
#CE5AFB
secondary
#CDF2BF
accent
#E60040
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CE5AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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