#CE5AF7#CE5AF7

#CE5AF7 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.7% C 0.238 H 316.1°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#CE5AF7
RGBrgb(206, 90, 247)
HSLhsl(284, 91%, 66%)
HSVhsv(284, 64%, 97%)
CMYKcmyk(16.6%, 63.6%, 0%, 3.1%)
CIE-LABlab(59.11, 68.50, -58.75)
CIE-LCHlch(59.11, 90.24, 319.38°)
OKLaboklab(67.72% 0.1712 -0.1648)
OKLCHoklch(67.72% 0.238 316.1)
XYZxyz(45.8957, 27.1512, 90.8008)
Luminance0.2715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE5AF7 #83F75A
analogous
#7F5AF7 #CE5AF7 #F75AD1
triadic
#CE5AF7 #F7CE5A #5AF7CE
tetradic
#CE5AF7 #F77F5A #83F75A #5AD1F7
square
#CE5AF7 #F77F5A #83F75A #5AD1F7
split-complementary
#CE5AF7 #D1F75A #5AF77F
monochromatic
#9A0ACD #BD20F4 #CE5AF7 #DF94FA #F1CFFD

Accessibility & contrast

On white

3.27
#CE5AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#CE5AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE5AF7
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE5AF7#FFFFFF#000000##000000
##CE5AF71.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B87FC
Deuteranopia (green-blind)
#5A92F3
Tritanopia (blue-blind)
#CC77A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ce5af7;
/* rgb */ color: rgb(206, 90, 247);
/* oklch */ color: oklch(67.7% 0.238 316.1);
Tailwind
colors: {
  custom: {
    50: '#e190fa',
    500: '#ce5af7',
    950: '#000000',
  },
}
SCSS
$custom: #ce5af7;
$custom-light: #e190fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ce5af7",
  "rgb": {
    "r": 206,
    "g": 90,
    "b": 247
  },
  "hsl": {
    "h": 284.331,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67719,
    "c": 0.23762,
    "h": 316.1
  },
  "luminance": 0.2715
}

Semantic roles & 50–950 ramp

primary
#CE5AF7
secondary
#CAF0BD
accent
#E6003C
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CE5AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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