#CF5DE2#CF5DE2

#CF5DE2 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.0% C 0.215 H 321.7°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#CF5DE2
RGBrgb(207, 93, 226)
HSLhsl(291, 70%, 63%)
HSVhsv(291, 59%, 89%)
CMYKcmyk(8.4%, 58.8%, 0%, 11.4%)
CIE-LABlab(58.59, 63.43, -47.86)
CIE-LCHlch(58.59, 79.46, 322.97°)
OKLaboklab(67% 0.1686 -0.133)
OKLCHoklch(67% 0.215 321.7)
XYZxyz(43.3724, 26.5872, 74.7840)
Luminance0.2658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5DE2 #70E25D
analogous
#8D5DE2 #CF5DE2 #E25DB2
triadic
#CF5DE2 #E2CF5D #5DE2CF
tetradic
#CF5DE2 #E28D5D #70E25D #5DB2E2
square
#CF5DE2 #E28D5D #70E25D #5DB2E2
split-complementary
#CF5DE2 #B2E25D #5DE28D
monochromatic
#931EA7 #C029D9 #CF5DE2 #DE91EB #EEC5F5

Accessibility & contrast

On white

3.32
#CF5DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#CF5DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5DE2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5DE2#FFFFFF#000000##000000
##CF5DE21.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4285E6
Deuteranopia (green-blind)
#6C91DF
Tritanopia (blue-blind)
#D17197
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cf5de2;
/* rgb */ color: rgb(207, 93, 226);
/* oklch */ color: oklch(67.0% 0.215 321.7);
Tailwind
colors: {
  custom: {
    50: '#e191eb',
    500: '#cf5de2',
    950: '#000000',
  },
}
SCSS
$custom: #cf5de2;
$custom-light: #e191eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5de2",
  "rgb": {
    "r": 207,
    "g": 93,
    "b": 226
  },
  "hsl": {
    "h": 291.429,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.67,
    "c": 0.21475,
    "h": 321.7
  },
  "luminance": 0.26585
}

Semantic roles & 50–950 ramp

primary
#CF5DE2
secondary
#BCE6B5
accent
#D2142F
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF5DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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