#CF4DE2#CF4DE2

#CF4DE2 is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.2% C 0.236 H 322.3°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#CF4DE2
RGBrgb(207, 77, 226)
HSLhsl(292, 72%, 59%)
HSVhsv(292, 66%, 89%)
CMYKcmyk(8.4%, 65.9%, 0%, 11.4%)
CIE-LABlab(56.15, 70.17, -51.73)
CIE-LCHlch(56.15, 87.17, 323.60°)
OKLaboklab(65.24% 0.1868 -0.1442)
OKLCHoklch(65.24% 0.236 322.3)
XYZxyz(42.1121, 24.0664, 74.3639)
Luminance0.2406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4DE2 #60E24D
analogous
#854DE2 #CF4DE2 #E24DAB
triadic
#CF4DE2 #E2CF4D #4DE2CF
tetradic
#CF4DE2 #E2854D #60E24D #4DABE2
square
#CF4DE2 #E2854D #60E24D #4DABE2
split-complementary
#CF4DE2 #ABE24D #4DE285
monochromatic
#8B199B #BA22D0 #CF4DE2 #DD82EB #EBB6F3

Accessibility & contrast

On white

3.61
#CF4DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#CF4DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4DE2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4DE2#FFFFFF#000000##000000
##CF4DE21.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#247DE6
Deuteranopia (green-blind)
#618CDE
Tritanopia (blue-blind)
#D26692
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cf4de2;
/* rgb */ color: rgb(207, 77, 226);
/* oklch */ color: oklch(65.2% 0.236 322.3);
Tailwind
colors: {
  custom: {
    50: '#e188ec',
    500: '#cf4de2',
    950: '#000000',
  },
}
SCSS
$custom: #cf4de2;
$custom-light: #e188ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4de2",
  "rgb": {
    "r": 207,
    "g": 77,
    "b": 226
  },
  "hsl": {
    "h": 292.349,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.65236,
    "c": 0.23602,
    "h": 322.3
  },
  "luminance": 0.24064
}

Semantic roles & 50–950 ramp

primary
#CF4DE2
secondary
#B0E2A8
accent
#EF3950
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CF4DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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