#CF5DE7#CF5DE7

#CF5DE7 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.3% C 0.219 H 320.3°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#CF5DE7
RGBrgb(207, 93, 231)
HSLhsl(290, 74%, 64%)
HSVhsv(290, 60%, 91%)
CMYKcmyk(10.4%, 59.7%, 0%, 9.4%)
CIE-LABlab(58.85, 64.36, -50.25)
CIE-LCHlch(58.85, 81.65, 322.02°)
OKLaboklab(67.27% 0.1688 -0.14)
OKLCHoklch(67.27% 0.219 320.3)
XYZxyz(44.0685, 26.8656, 78.4501)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5DE7 #75E75D
analogous
#8A5DE7 #CF5DE7 #E75DBA
triadic
#CF5DE7 #E7CF5D #5DE7CF
tetradic
#CF5DE7 #E78A5D #75E75D #5DBAE7
square
#CF5DE7 #E78A5D #75E75D #5DBAE7
split-complementary
#CF5DE7 #BAE75D #5DE78A
monochromatic
#961AB0 #BF28DF #CF5DE7 #DF92EF #EFC8F7

Accessibility & contrast

On white

3.30
#CF5DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#CF5DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5DE7
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5DE7#FFFFFF#000000##000000
##CF5DE71.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D86EB
Deuteranopia (green-blind)
#6992E3
Tritanopia (blue-blind)
#D0739A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cf5de7;
/* rgb */ color: rgb(207, 93, 231);
/* oklch */ color: oklch(67.3% 0.219 320.3);
Tailwind
colors: {
  custom: {
    50: '#e191ef',
    500: '#cf5de7',
    950: '#000000',
  },
}
SCSS
$custom: #cf5de7;
$custom-light: #e191ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5de7",
  "rgb": {
    "r": 207,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 289.565,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67273,
    "c": 0.2193,
    "h": 320.3
  },
  "luminance": 0.26864
}

Semantic roles & 50–950 ramp

primary
#CF5DE7
secondary
#C0E8B7
accent
#D60F32
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF5DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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