#CF5BF1#CF5BF1

#CF5BF1 is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.6% C 0.231 H 317.8°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#CF5BF1
RGBrgb(207, 91, 241)
HSLhsl(286, 84%, 65%)
HSVhsv(286, 62%, 95%)
CMYKcmyk(14.1%, 62.2%, 0%, 5.5%)
CIE-LABlab(59.07, 67.14, -55.48)
CIE-LCHlch(59.07, 87.09, 320.43°)
OKLaboklab(67.6% 0.1713 -0.1552)
OKLCHoklch(67.6% 0.231 317.8)
XYZxyz(45.3482, 27.1003, 86.0442)
Luminance0.2710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5BF1 #7DF15B
analogous
#845BF1 #CF5BF1 #F15BC8
triadic
#CF5BF1 #F1CF5B #5BF1CF
tetradic
#CF5BF1 #F1845B #7DF15B #5BC8F1
square
#CF5BF1 #F1845B #7DF15B #5BC8F1
split-complementary
#CF5BF1 #C8F15B #5BF184
monochromatic
#9910C1 #BE23EC #CF5BF1 #E093F6 #F0CCFB

Accessibility & contrast

On white

3.27
#CF5BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#CF5BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5BF1
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5BF1#FFFFFF#000000##000000
##CF5BF11.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C87F6
Deuteranopia (green-blind)
#6192ED
Tritanopia (blue-blind)
#CE759E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cf5bf1;
/* rgb */ color: rgb(207, 91, 241);
/* oklch */ color: oklch(67.6% 0.231 317.8);
Tailwind
colors: {
  custom: {
    50: '#e190f6',
    500: '#cf5bf1',
    950: '#000000',
  },
}
SCSS
$custom: #cf5bf1;
$custom-light: #e190f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5bf1",
  "rgb": {
    "r": 207,
    "g": 91,
    "b": 241
  },
  "hsl": {
    "h": 286.4,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67604,
    "c": 0.23119,
    "h": 317.8
  },
  "luminance": 0.27098
}

Semantic roles & 50–950 ramp

primary
#CF5BF1
secondary
#C6EDBA
accent
#E10537
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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