#CF5AE7#CF5AE7

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

Color values

HEX#CF5AE7
RGBrgb(207, 90, 231)
HSLhsl(290, 75%, 63%)
HSVhsv(290, 61%, 91%)
CMYKcmyk(10.4%, 61%, 0%, 9.4%)
CIE-LABlab(58.37, 65.69, -51.01)
CIE-LCHlch(58.37, 83.17, 322.17°)
OKLaboklab(66.92% 0.1724 -0.1422)
OKLCHoklch(66.92% 0.223 320.5)
XYZxyz(43.8104, 26.3493, 78.3641)
Luminance0.2635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5AE7 #72E75A
analogous
#885AE7 #CF5AE7 #E75AB9
triadic
#CF5AE7 #E7CF5A #5AE7CF
tetradic
#CF5AE7 #E7885A #72E75A #5AB9E7
square
#CF5AE7 #E7885A #72E75A #5AB9E7
split-complementary
#CF5AE7 #B9E75A #5AE788
monochromatic
#9419AD #BF25DF #CF5AE7 #DF8FEF #EEC5F7

Accessibility & contrast

On white

3.35
#CF5AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#CF5AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5AE7
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5AE7#FFFFFF#000000##000000
##CF5AE71.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3884EB
Deuteranopia (green-blind)
#6791E3
Tritanopia (blue-blind)
#D07199
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cf5ae7;
/* rgb */ color: rgb(207, 90, 231);
/* oklch */ color: oklch(66.9% 0.223 320.5);
Tailwind
colors: {
  custom: {
    50: '#e18fef',
    500: '#cf5ae7',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ae7;
$custom-light: #e18fef;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ae7",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 289.787,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66922,
    "c": 0.22344,
    "h": 320.5
  },
  "luminance": 0.26347
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF5AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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