#CF5BE1#CF5BE1

#CF5BE1 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.7% C 0.217 H 322.1°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#CF5BE1
RGBrgb(207, 91, 225)
HSLhsl(292, 69%, 62%)
HSVhsv(292, 60%, 88%)
CMYKcmyk(8%, 59.6%, 0%, 11.8%)
CIE-LABlab(58.21, 64.14, -47.89)
CIE-LCHlch(58.21, 80.05, 323.25°)
OKLaboklab(66.71% 0.1709 -0.1331)
OKLCHoklch(66.71% 0.217 322.1)
XYZxyz(43.0624, 26.1860, 74.0057)
Luminance0.2618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5BE1 #6DE15B
analogous
#8C5BE1 #CF5BE1 #E15BB0
triadic
#CF5BE1 #E1CF5B #5BE1CF
tetradic
#CF5BE1 #E18C5B #6DE15B #5BB0E1
square
#CF5BE1 #E18C5B #6DE15B #5BB0E1
split-complementary
#CF5BE1 #B0E15B #5BE18C
monochromatic
#921EA4 #C027D7 #CF5BE1 #DE8FEA #EDC2F4

Accessibility & contrast

On white

3.37
#CF5BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#CF5BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5BE1
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5BE1#FFFFFF#000000##000000
##CF5BE11.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4083E5
Deuteranopia (green-blind)
#6B90DD
Tritanopia (blue-blind)
#D16F96
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cf5be1;
/* rgb */ color: rgb(207, 91, 225);
/* oklch */ color: oklch(66.7% 0.217 322.1);
Tailwind
colors: {
  custom: {
    50: '#e190eb',
    500: '#cf5be1',
    950: '#000000',
  },
}
SCSS
$custom: #cf5be1;
$custom-light: #e190eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5be1",
  "rgb": {
    "r": 207,
    "g": 91,
    "b": 225
  },
  "hsl": {
    "h": 291.94,
    "s": 69.072,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66709,
    "c": 0.21667,
    "h": 322.1
  },
  "luminance": 0.26184
}

Semantic roles & 50–950 ramp

primary
#CF5BE1
secondary
#BAE5B3
accent
#D1142E
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF5BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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