#CF5BEA#CF5BEA

#CF5BEA is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.2% C 0.225 H 319.6°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#CF5BEA
RGBrgb(207, 91, 234)
HSLhsl(289, 77%, 64%)
HSVhsv(289, 61%, 92%)
CMYKcmyk(11.5%, 61.1%, 0%, 8.2%)
CIE-LABlab(58.69, 65.81, -52.18)
CIE-LCHlch(58.69, 83.99, 321.59°)
OKLaboklab(67.21% 0.1713 -0.1456)
OKLCHoklch(67.21% 0.225 319.6)
XYZxyz(44.3226, 26.6901, 80.6430)
Luminance0.2669 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5BEA #76EA5B
analogous
#875BEA #CF5BEA #EA5BBD
triadic
#CF5BEA #EACF5B #5BEACF
tetradic
#CF5BEA #EA875B #76EA5B #5BBDEA
square
#CF5BEA #EA875B #76EA5B #5BBDEA
split-complementary
#CF5BEA #BDEA5B #5BEA87
monochromatic
#9617B4 #BF25E3 #CF5BEA #DF91F1 #EFC8F8

Accessibility & contrast

On white

3.31
#CF5BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#CF5BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5BEA
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5BEA#FFFFFF#000000##000000
##CF5BEA1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3685EE
Deuteranopia (green-blind)
#6691E6
Tritanopia (blue-blind)
#D0739A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cf5bea;
/* rgb */ color: rgb(207, 91, 234);
/* oklch */ color: oklch(67.2% 0.225 319.6);
Tailwind
colors: {
  custom: {
    50: '#e190f1',
    500: '#cf5bea',
    950: '#000000',
  },
}
SCSS
$custom: #cf5bea;
$custom-light: #e190f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5bea",
  "rgb": {
    "r": 207,
    "g": 91,
    "b": 234
  },
  "hsl": {
    "h": 288.671,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67205,
    "c": 0.22479,
    "h": 319.6
  },
  "luminance": 0.26688
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF5BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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