#CF5BE5#CF5BE5

#CF5BE5 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 66.9% C 0.220 H 321.0°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#CF5BE5
RGBrgb(207, 91, 229)
HSLhsl(290, 73%, 63%)
HSVhsv(290, 60%, 90%)
CMYKcmyk(9.6%, 60.3%, 0%, 10.2%)
CIE-LABlab(58.42, 64.88, -49.81)
CIE-LCHlch(58.42, 81.79, 322.49°)
OKLaboklab(66.93% 0.1711 -0.1387)
OKLCHoklch(66.93% 0.22 321)
XYZxyz(43.6144, 26.4068, 76.9132)
Luminance0.2641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5BE5 #71E55B
analogous
#8A5BE5 #CF5BE5 #E55BB6
triadic
#CF5BE5 #E5CF5B #5BE5CF
tetradic
#CF5BE5 #E58A5B #71E55B #5BB6E5
square
#CF5BE5 #E58A5B #71E55B #5BB6E5
split-complementary
#CF5BE5 #B6E55B #5BE58A
monochromatic
#941BAB #C026DD #CF5BE5 #DE90ED #EEC5F6

Accessibility & contrast

On white

3.34
#CF5BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#CF5BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5BE5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5BE5#FFFFFF#000000##000000
##CF5BE51.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C84E9
Deuteranopia (green-blind)
#6991E1
Tritanopia (blue-blind)
#D17198
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cf5be5;
/* rgb */ color: rgb(207, 91, 229);
/* oklch */ color: oklch(66.9% 0.220 321.0);
Tailwind
colors: {
  custom: {
    50: '#e190ee',
    500: '#cf5be5',
    950: '#000000',
  },
}
SCSS
$custom: #cf5be5;
$custom-light: #e190ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5be5",
  "rgb": {
    "r": 207,
    "g": 91,
    "b": 229
  },
  "hsl": {
    "h": 290.435,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66927,
    "c": 0.22026,
    "h": 321
  },
  "luminance": 0.26405
}

Semantic roles & 50–950 ramp

primary
#CF5BE5
secondary
#BDE7B5
accent
#D51130
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF5BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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