#CF5DF6#CF5DF6

#CF5DF6 is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 68.1% C 0.233 H 316.5°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#CF5DF6
RGBrgb(207, 93, 246)
HSLhsl(285, 89%, 66%)
HSVhsv(285, 62%, 96%)
CMYKcmyk(15.9%, 62.2%, 0%, 3.5%)
CIE-LABlab(59.66, 67.23, -57.31)
CIE-LCHlch(59.66, 88.34, 319.55°)
OKLaboklab(68.12% 0.169 -0.1606)
OKLCHoklch(68.12% 0.233 316.5)
XYZxyz(46.2785, 27.7496, 90.0894)
Luminance0.2775 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5DF6 #84F65D
analogous
#835DF6 #CF5DF6 #F65DD1
triadic
#CF5DF6 #F6CF5D #5DF6CF
tetradic
#CF5DF6 #F6835D #84F65D #5DD1F6
square
#CF5DF6 #F6835D #84F65D #5DD1F6
split-complementary
#CF5DF6 #D1F65D #5DF683
monochromatic
#9C0BCD #BE23F3 #CF5DF6 #E097F9 #F1D1FC

Accessibility & contrast

On white

3.21
#CF5DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#CF5DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5DF6
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5DF6#FFFFFF#000000##000000
##CF5DF61.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2889FB
Deuteranopia (green-blind)
#5F93F2
Tritanopia (blue-blind)
#CD78A1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cf5df6;
/* rgb */ color: rgb(207, 93, 246);
/* oklch */ color: oklch(68.1% 0.233 316.5);
Tailwind
colors: {
  custom: {
    50: '#e191fa',
    500: '#cf5df6',
    950: '#000000',
  },
}
SCSS
$custom: #cf5df6;
$custom-light: #e191fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5df6",
  "rgb": {
    "r": 207,
    "g": 93,
    "b": 246
  },
  "hsl": {
    "h": 284.706,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68124,
    "c": 0.23314,
    "h": 316.5
  },
  "luminance": 0.27748
}

Semantic roles & 50–950 ramp

primary
#CF5DF6
secondary
#CBF0BF
accent
#E6003A
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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