#CF5AE8#CF5AE8

#CF5AE8 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.0% C 0.224 H 320.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#CF5AE8
RGBrgb(207, 90, 232)
HSLhsl(289, 76%, 63%)
HSVhsv(289, 61%, 91%)
CMYKcmyk(10.8%, 61.2%, 0%, 9%)
CIE-LABlab(58.42, 65.87, -51.49)
CIE-LCHlch(58.42, 83.61, 321.99°)
OKLaboklab(66.98% 0.1724 -0.1436)
OKLCHoklch(66.98% 0.224 320.2)
XYZxyz(43.9520, 26.4060, 79.1100)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5AE8 #73E85A
analogous
#885AE8 #CF5AE8 #E85ABA
triadic
#CF5AE8 #E8CF5A #5AE8CF
tetradic
#CF5AE8 #E8885A #73E85A #5ABAE8
square
#CF5AE8 #E8885A #73E85A #5ABAE8
split-complementary
#CF5AE8 #BAE85A #5AE888
monochromatic
#9518AF #BF24E1 #CF5AE8 #DF90EF #EEC5F7

Accessibility & contrast

On white

3.34
#CF5AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#CF5AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5AE8
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5AE8#FFFFFF#000000##000000
##CF5AE81.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3684EC
Deuteranopia (green-blind)
#6691E4
Tritanopia (blue-blind)
#D07199
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cf5ae8;
/* rgb */ color: rgb(207, 90, 232);
/* oklch */ color: oklch(67.0% 0.224 320.2);
Tailwind
colors: {
  custom: {
    50: '#e18ff0',
    500: '#cf5ae8',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ae8;
$custom-light: #e18ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ae8",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 289.437,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66978,
    "c": 0.22434,
    "h": 320.2
  },
  "luminance": 0.26404
}

Semantic roles & 50–950 ramp

primary
#CF5AE8
secondary
#BEE8B5
accent
#D80E31
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF5AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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