#CF5AE6#CF5AE6

#CF5AE6 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 66.9% C 0.223 H 320.7°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#CF5AE6
RGBrgb(207, 90, 230)
HSLhsl(290, 74%, 63%)
HSVhsv(290, 61%, 90%)
CMYKcmyk(10%, 60.9%, 0%, 9.8%)
CIE-LABlab(58.31, 65.50, -50.54)
CIE-LCHlch(58.31, 82.73, 322.35°)
OKLaboklab(66.87% 0.1723 -0.1408)
OKLCHoklch(66.87% 0.223 320.7)
XYZxyz(43.6695, 26.2930, 77.6224)
Luminance0.2629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5AE6 #71E65A
analogous
#895AE6 #CF5AE6 #E65AB7
triadic
#CF5AE6 #E6CF5A #5AE6CF
tetradic
#CF5AE6 #E6895A #71E65A #5AB7E6
square
#CF5AE6 #E6895A #71E65A #5AB7E6
split-complementary
#CF5AE6 #B7E65A #5AE689
monochromatic
#941AAC #C025DE #CF5AE6 #DE8FEE #EEC4F6

Accessibility & contrast

On white

3.36
#CF5AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#CF5AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5AE6
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5AE6#FFFFFF#000000##000000
##CF5AE61.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3984EA
Deuteranopia (green-blind)
#6791E2
Tritanopia (blue-blind)
#D07098
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cf5ae6;
/* rgb */ color: rgb(207, 90, 230);
/* oklch */ color: oklch(66.9% 0.223 320.7);
Tailwind
colors: {
  custom: {
    50: '#e18fee',
    500: '#cf5ae6',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ae6;
$custom-light: #e18fee;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ae6",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 230
  },
  "hsl": {
    "h": 290.143,
    "s": 73.684,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66866,
    "c": 0.22253,
    "h": 320.7
  },
  "luminance": 0.26291
}

Semantic roles & 50–950 ramp

primary
#CF5AE6
secondary
#BDE7B5
accent
#D61030
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF5AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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