#CF5DF7#CF5DF7

#CF5DF7 is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 68.2% C 0.234 H 316.2°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#CF5DF7
RGBrgb(207, 93, 247)
HSLhsl(284, 91%, 67%)
HSVhsv(284, 62%, 97%)
CMYKcmyk(16.2%, 62.3%, 0%, 3.1%)
CIE-LABlab(59.72, 67.42, -57.77)
CIE-LCHlch(59.72, 88.79, 319.41°)
OKLaboklab(68.18% 0.169 -0.1619)
OKLCHoklch(68.18% 0.234 316.2)
XYZxyz(46.4324, 27.8112, 90.8999)
Luminance0.2781 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5DF7 #85F75D
analogous
#825DF7 #CF5DF7 #F75DD2
triadic
#CF5DF7 #F7CF5D #5DF7CF
tetradic
#CF5DF7 #F7825D #85F75D #5DD2F7
square
#CF5DF7 #F7825D #85F75D #5DD2F7
split-complementary
#CF5DF7 #D2F75D #5DF782
monochromatic
#9C0ACF #BE23F4 #CF5DF7 #E097FA #F2D2FD

Accessibility & contrast

On white

3.20
#CF5DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#CF5DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5DF7
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5DF7#FFFFFF#000000##000000
##CF5DF71.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2689FC
Deuteranopia (green-blind)
#5E93F3
Tritanopia (blue-blind)
#CD79A2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cf5df7;
/* rgb */ color: rgb(207, 93, 247);
/* oklch */ color: oklch(68.2% 0.234 316.2);
Tailwind
colors: {
  custom: {
    50: '#e191fa',
    500: '#cf5df7',
    950: '#000000',
  },
}
SCSS
$custom: #cf5df7;
$custom-light: #e191fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5df7",
  "rgb": {
    "r": 207,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 284.416,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68182,
    "c": 0.23407,
    "h": 316.2
  },
  "luminance": 0.27809
}

Semantic roles & 50–950 ramp

primary
#CF5DF7
secondary
#CCF1BF
accent
#E6003C
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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