#CF4ED2#CF4ED2

#CF4ED2 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.5% C 0.221 H 326.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#CF4ED2
RGBrgb(207, 78, 210)
HSLhsl(299, 59%, 56%)
HSVhsv(299, 63%, 82%)
CMYKcmyk(1.4%, 62.9%, 0%, 17.6%)
CIE-LABlab(55.45, 66.99, -43.78)
CIE-LCHlch(55.45, 80.03, 326.83°)
OKLaboklab(64.46% 0.1854 -0.1211)
OKLCHoklch(64.46% 0.221 326.8)
XYZxyz(40.0887, 23.3699, 63.3596)
Luminance0.2337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4ED2 #51D24E
analogous
#8D4ED2 #CF4ED2 #D24E93
triadic
#CF4ED2 #D2CF4E #4ED2CF
tetradic
#CF4ED2 #D28D4E #51D24E #4E93D2
square
#CF4ED2 #D28D4E #51D24E #4E93D2
split-complementary
#CF4ED2 #93D24E #4ED28D
monochromatic
#822284 #B22EB5 #CF4ED2 #DC7FDE #E9B0EB

Accessibility & contrast

On white

3.70
#CF4ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#CF4ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4ED2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4ED2#FFFFFF#000000##000000
##CF4ED21.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7AD6
Deuteranopia (green-blind)
#6B8BCE
Tritanopia (blue-blind)
#D56089
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cf4ed2;
/* rgb */ color: rgb(207, 78, 210);
/* oklch */ color: oklch(64.5% 0.221 326.8);
Tailwind
colors: {
  custom: {
    50: '#e188e0',
    500: '#cf4ed2',
    950: '#000000',
  },
}
SCSS
$custom: #cf4ed2;
$custom-light: #e188e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4ed2",
  "rgb": {
    "r": 207,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 298.636,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64455,
    "c": 0.22145,
    "h": 326.8
  },
  "luminance": 0.23367
}

Semantic roles & 50–950 ramp

primary
#CF4ED2
secondary
#A4D9A3
accent
#E34549
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CF4ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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