#CF5AEB#CF5AEB

#CF5AEB is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.1% C 0.227 H 319.4°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#CF5AEB
RGBrgb(207, 90, 235)
HSLhsl(288, 78%, 64%)
HSVhsv(288, 62%, 92%)
CMYKcmyk(11.9%, 61.7%, 0%, 7.8%)
CIE-LABlab(58.58, 66.43, -52.91)
CIE-LCHlch(58.58, 84.93, 321.47°)
OKLaboklab(67.15% 0.1724 -0.1477)
OKLCHoklch(67.15% 0.227 319.4)
XYZxyz(44.3818, 26.5779, 81.3734)
Luminance0.2658 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5AEB #76EB5A
analogous
#865AEB #CF5AEB #EB5ABE
triadic
#CF5AEB #EBCF5A #5AEBCF
tetradic
#CF5AEB #EB865A #76EB5A #5ABEEB
square
#CF5AEB #EB865A #76EB5A #5ABEEB
split-complementary
#CF5AEB #BEEB5A #5AEB86
monochromatic
#9616B5 #BF23E4 #CF5AEB #DF91F2 #EFC7F8

Accessibility & contrast

On white

3.33
#CF5AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#CF5AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5AEB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5AEB#FFFFFF#000000##000000
##CF5AEB1.003.336.326.32
#FFFFFF3.331.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3285EF
Deuteranopia (green-blind)
#6491E7
Tritanopia (blue-blind)
#CF729B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cf5aeb;
/* rgb */ color: rgb(207, 90, 235);
/* oklch */ color: oklch(67.1% 0.227 319.4);
Tailwind
colors: {
  custom: {
    50: '#e18ff2',
    500: '#cf5aeb',
    950: '#000000',
  },
}
SCSS
$custom: #cf5aeb;
$custom-light: #e18ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5aeb",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 288.414,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67147,
    "c": 0.22706,
    "h": 319.4
  },
  "luminance": 0.26576
}

Semantic roles & 50–950 ramp

primary
#CF5AEB
secondary
#C1EAB7
accent
#DB0B33
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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