#CF5DEF#CF5DEF

#CF5DEF is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.7% C 0.227 H 318.2°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#CF5DEF
RGBrgb(207, 93, 239)
HSLhsl(287, 82%, 65%)
HSVhsv(287, 61%, 94%)
CMYKcmyk(13.4%, 61.1%, 0%, 6.3%)
CIE-LABlab(59.28, 65.88, -54.03)
CIE-LCHlch(59.28, 85.20, 320.64°)
OKLaboklab(67.72% 0.169 -0.151)
OKLCHoklch(67.72% 0.227 318.2)
XYZxyz(45.2243, 27.3280, 84.5372)
Luminance0.2733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5DEF #7DEF5D
analogous
#865DEF #CF5DEF #EF5DC6
triadic
#CF5DEF #EFCF5D #5DEFCF
tetradic
#CF5DEF #EF865D #7DEF5D #5DC6EF
square
#CF5DEF #EF865D #7DEF5D #5DC6EF
split-complementary
#CF5DEF #C6EF5D #5DEF86
monochromatic
#9913BF #BE25E9 #CF5DEF #E095F5 #F0CCFA

Accessibility & contrast

On white

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

On black

6.47
#CF5DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5DEF
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5DEF#FFFFFF#000000##000000
##CF5DEF1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3387F3
Deuteranopia (green-blind)
#6492EB
Tritanopia (blue-blind)
#CF769E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cf5def;
/* rgb */ color: rgb(207, 93, 239);
/* oklch */ color: oklch(67.7% 0.227 318.2);
Tailwind
colors: {
  custom: {
    50: '#e191f5',
    500: '#cf5def',
    950: '#000000',
  },
}
SCSS
$custom: #cf5def;
$custom-light: #e191f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5def",
  "rgb": {
    "r": 207,
    "g": 93,
    "b": 239
  },
  "hsl": {
    "h": 286.849,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6772,
    "c": 0.22664,
    "h": 318.2
  },
  "luminance": 0.27326
}

Semantic roles & 50–950 ramp

primary
#CF5DEF
secondary
#C6EDBB
accent
#DE0736
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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