#CE5AF2#CE5AF2

#CE5AF2 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.4% C 0.233 H 317.3°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#CE5AF2
RGBrgb(206, 90, 242)
HSLhsl(286, 85%, 65%)
HSVhsv(286, 63%, 95%)
CMYKcmyk(14.9%, 62.8%, 0%, 5.1%)
CIE-LABlab(58.83, 67.53, -56.42)
CIE-LCHlch(58.83, 88.00, 320.12°)
OKLaboklab(67.42% 0.1713 -0.158)
OKLCHoklch(67.42% 0.233 317.3)
XYZxyz(45.1345, 26.8467, 86.7916)
Luminance0.2685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE5AF2 #7EF25A
analogous
#825AF2 #CE5AF2 #F25ACA
triadic
#CE5AF2 #F2CE5A #5AF2CE
tetradic
#CE5AF2 #F2825A #7EF25A #5ACAF2
square
#CE5AF2 #F2825A #7EF25A #5ACAF2
split-complementary
#CE5AF2 #CAF25A #5AF282
monochromatic
#980FC2 #BD21EE #CE5AF2 #DF93F6 #F0CBFB

Accessibility & contrast

On white

3.30
#CE5AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#CE5AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE5AF2
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE5AF2#FFFFFF#000000##000000
##CE5AF21.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2686F7
Deuteranopia (green-blind)
#5E91EE
Tritanopia (blue-blind)
#CD759E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ce5af2;
/* rgb */ color: rgb(206, 90, 242);
/* oklch */ color: oklch(67.4% 0.233 317.3);
Tailwind
colors: {
  custom: {
    50: '#e090f7',
    500: '#ce5af2',
    950: '#000000',
  },
}
SCSS
$custom: #ce5af2;
$custom-light: #e090f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ce5af2",
  "rgb": {
    "r": 206,
    "g": 90,
    "b": 242
  },
  "hsl": {
    "h": 285.789,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67424,
    "c": 0.23303,
    "h": 317.3
  },
  "luminance": 0.26845
}

Semantic roles & 50–950 ramp

primary
#CE5AF2
secondary
#C6EEBA
accent
#E20438
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CE5AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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