#CF5AEC#CF5AEC

#CF5AEC is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.2% C 0.228 H 319.2°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#CF5AEC
RGBrgb(207, 90, 236)
HSLhsl(288, 79%, 64%)
HSVhsv(288, 62%, 93%)
CMYKcmyk(12.3%, 61.9%, 0%, 7.5%)
CIE-LABlab(58.64, 66.62, -53.38)
CIE-LCHlch(58.64, 85.37, 321.30°)
OKLaboklab(67.2% 0.1724 -0.1491)
OKLCHoklch(67.2% 0.228 319.2)
XYZxyz(44.5266, 26.6358, 82.1364)
Luminance0.2663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5AEC #77EC5A
analogous
#865AEC #CF5AEC #EC5AC0
triadic
#CF5AEC #ECCF5A #5AECCF
tetradic
#CF5AEC #EC865A #77EC5A #5AC0EC
square
#CF5AEC #EC865A #77EC5A #5AC0EC
split-complementary
#CF5AEC #C0EC5A #5AEC86
monochromatic
#9615B7 #BF23E6 #CF5AEC #DF91F2 #EFC8F9

Accessibility & contrast

On white

3.32
#CF5AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#CF5AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5AEC
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5AEC#FFFFFF#000000##000000
##CF5AEC1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3185F0
Deuteranopia (green-blind)
#6391E8
Tritanopia (blue-blind)
#CF739B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cf5aec;
/* rgb */ color: rgb(207, 90, 236);
/* oklch */ color: oklch(67.2% 0.228 319.2);
Tailwind
colors: {
  custom: {
    50: '#e18ff3',
    500: '#cf5aec',
    950: '#000000',
  },
}
SCSS
$custom: #cf5aec;
$custom-light: #e18ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5aec",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 288.082,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67203,
    "c": 0.22796,
    "h": 319.2
  },
  "luminance": 0.26634
}

Semantic roles & 50–950 ramp

primary
#CF5AEC
secondary
#C1EBB7
accent
#DC0A34
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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