#CF4DE7#CF4DE7

#CF4DE7 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.5% C 0.240 H 321.0°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#CF4DE7
RGBrgb(207, 77, 231)
HSLhsl(291, 76%, 60%)
HSVhsv(291, 67%, 91%)
CMYKcmyk(10.4%, 66.7%, 0%, 9.4%)
CIE-LABlab(56.43, 71.06, -54.10)
CIE-LCHlch(56.43, 89.31, 322.72°)
OKLaboklab(65.53% 0.1868 -0.1511)
OKLCHoklch(65.53% 0.24 321)
XYZxyz(42.8082, 24.3449, 78.0300)
Luminance0.2434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4DE7 #65E74D
analogous
#824DE7 #CF4DE7 #E74DB2
triadic
#CF4DE7 #E7CF4D #4DE7CF
tetradic
#CF4DE7 #E7824D #65E74D #4DB2E7
square
#CF4DE7 #E7824D #65E74D #4DB2E7
split-complementary
#CF4DE7 #B2E74D #4DE782
monochromatic
#8D16A4 #BC1DD9 #CF4DE7 #DE83EE #ECB9F6

Accessibility & contrast

On white

3.58
#CF4DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#CF4DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4DE7
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4DE7#FFFFFF#000000##000000
##CF4DE71.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#197EEB
Deuteranopia (green-blind)
#5E8CE3
Tritanopia (blue-blind)
#D16894
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cf4de7;
/* rgb */ color: rgb(207, 77, 231);
/* oklch */ color: oklch(65.5% 0.240 321.0);
Tailwind
colors: {
  custom: {
    50: '#e188ef',
    500: '#cf4de7',
    950: '#000000',
  },
}
SCSS
$custom: #cf4de7;
$custom-light: #e188ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4de7",
  "rgb": {
    "r": 207,
    "g": 77,
    "b": 231
  },
  "hsl": {
    "h": 290.649,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65525,
    "c": 0.24025,
    "h": 321
  },
  "luminance": 0.24343
}

Semantic roles & 50–950 ramp

primary
#CF4DE7
secondary
#B4E5AA
accent
#D80D2D
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CF4DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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