#CF5BDC#CF5BDC

#CF5BDC is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.4% C 0.212 H 323.5°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#CF5BDC
RGBrgb(207, 91, 220)
HSLhsl(294, 65%, 61%)
HSVhsv(294, 59%, 86%)
CMYKcmyk(5.9%, 58.6%, 0%, 13.7%)
CIE-LABlab(57.96, 63.23, -45.48)
CIE-LCHlch(57.96, 77.89, 324.27°)
OKLaboklab(66.44% 0.1707 -0.1261)
OKLCHoklch(66.44% 0.212 323.5)
XYZxyz(42.3903, 25.9171, 70.4660)
Luminance0.2591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5BDC #68DC5B
analogous
#8E5BDC #CF5BDC #DC5BA9
triadic
#CF5BDC #DCCF5B #5BDCCF
tetradic
#CF5BDC #DC8E5B #68DC5B #5BA9DC
square
#CF5BDC #DC8E5B #68DC5B #5BA9DC
split-complementary
#CF5BDC #A9DC5B #5BDC8E
monochromatic
#8F219B #BE2CCE #CF5BDC #DE8DE7 #EDC0F2

Accessibility & contrast

On white

3.40
#CF5BDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#CF5BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5BDC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5BDC#FFFFFF#000000##000000
##CF5BDC1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4482E0
Deuteranopia (green-blind)
#6E90D9
Tritanopia (blue-blind)
#D26D93
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cf5bdc;
/* rgb */ color: rgb(207, 91, 220);
/* oklch */ color: oklch(66.4% 0.212 323.5);
Tailwind
colors: {
  custom: {
    50: '#e190e7',
    500: '#cf5bdc',
    950: '#000000',
  },
}
SCSS
$custom: #cf5bdc;
$custom-light: #e190e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5bdc",
  "rgb": {
    "r": 207,
    "g": 91,
    "b": 220
  },
  "hsl": {
    "h": 293.953,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.6644,
    "c": 0.21221,
    "h": 323.5
  },
  "luminance": 0.25915
}

Semantic roles & 50–950 ramp

primary
#CF5BDC
secondary
#B6E2B1
accent
#CD192B
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF5BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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