#CE5AF5#CE5AF5

#CE5AF5 is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.6% C 0.236 H 316.6°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#CE5AF5
RGBrgb(206, 90, 245)
HSLhsl(285, 89%, 66%)
HSVhsv(285, 63%, 96%)
CMYKcmyk(15.9%, 63.3%, 0%, 3.9%)
CIE-LABlab(59.00, 68.11, -57.82)
CIE-LCHlch(59.00, 89.34, 319.67°)
OKLaboklab(67.6% 0.1712 -0.1621)
OKLCHoklch(67.6% 0.236 316.6)
XYZxyz(45.5887, 27.0284, 89.1841)
Luminance0.2703 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE5AF5 #81F55A
analogous
#805AF5 #CE5AF5 #F55ACF
triadic
#CE5AF5 #F5CE5A #5AF5CE
tetradic
#CE5AF5 #F5805A #81F55A #5ACFF5
square
#CE5AF5 #F5805A #81F55A #5ACFF5
split-complementary
#CE5AF5 #CFF55A #5AF580
monochromatic
#990CC8 #BD20F2 #CE5AF5 #DF94F8 #F0CDFC

Accessibility & contrast

On white

3.28
#CE5AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#CE5AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE5AF5
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE5AF5#FFFFFF#000000##000000
##CE5AF51.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2087FA
Deuteranopia (green-blind)
#5C91F1
Tritanopia (blue-blind)
#CC76A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ce5af5;
/* rgb */ color: rgb(206, 90, 245);
/* oklch */ color: oklch(67.6% 0.236 316.6);
Tailwind
colors: {
  custom: {
    50: '#e190f9',
    500: '#ce5af5',
    950: '#000000',
  },
}
SCSS
$custom: #ce5af5;
$custom-light: #e190f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ce5af5",
  "rgb": {
    "r": 206,
    "g": 90,
    "b": 245
  },
  "hsl": {
    "h": 284.903,
    "s": 88.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.676,
    "c": 0.23579,
    "h": 316.6
  },
  "luminance": 0.27027
}

Semantic roles & 50–950 ramp

primary
#CE5AF5
secondary
#C9EFBC
accent
#E5003A
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CE5AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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