#CF5BF4#CF5BF4

#CF5BF4 is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.8% C 0.234 H 317.1°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#CF5BF4
RGBrgb(207, 91, 244)
HSLhsl(285, 87%, 66%)
HSVhsv(285, 63%, 96%)
CMYKcmyk(15.2%, 62.7%, 0%, 4.3%)
CIE-LABlab(59.23, 67.71, -56.88)
CIE-LCHlch(59.23, 88.43, 319.97°)
OKLaboklab(67.78% 0.1713 -0.1593)
OKLCHoklch(67.78% 0.234 317.1)
XYZxyz(45.8000, 27.2810, 88.4236)
Luminance0.2728 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5BF4 #80F45B
analogous
#825BF4 #CF5BF4 #F45BCD
triadic
#CF5BF4 #F4CF5B #5BF4CF
tetradic
#CF5BF4 #F4825B #80F45B #5BCDF4
square
#CF5BF4 #F4825B #80F45B #5BCDF4
split-complementary
#CF5BF4 #CDF45B #5BF482
monochromatic
#9A0DC7 #BE22F0 #CF5BF4 #E094F8 #F1CEFC

Accessibility & contrast

On white

3.25
#CF5BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#CF5BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5BF4
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5BF4#FFFFFF#000000##000000
##CF5BF41.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2687F9
Deuteranopia (green-blind)
#5E92F0
Tritanopia (blue-blind)
#CD76A0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cf5bf4;
/* rgb */ color: rgb(207, 91, 244);
/* oklch */ color: oklch(67.8% 0.234 317.1);
Tailwind
colors: {
  custom: {
    50: '#e190f8',
    500: '#cf5bf4',
    950: '#000000',
  },
}
SCSS
$custom: #cf5bf4;
$custom-light: #e190f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5bf4",
  "rgb": {
    "r": 207,
    "g": 91,
    "b": 244
  },
  "hsl": {
    "h": 285.49,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67778,
    "c": 0.23394,
    "h": 317.1
  },
  "luminance": 0.27279
}

Semantic roles & 50–950 ramp

primary
#CF5BF4
secondary
#C8EFBC
accent
#E40238
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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