#CF4EE2#CF4EE2

#CF4EE2 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.3% C 0.235 H 322.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#CF4EE2
RGBrgb(207, 78, 226)
HSLhsl(292, 72%, 60%)
HSVhsv(292, 65%, 89%)
CMYKcmyk(8.4%, 65.5%, 0%, 11.4%)
CIE-LABlab(56.29, 69.77, -51.50)
CIE-LCHlch(56.29, 86.72, 323.57°)
OKLaboklab(65.34% 0.1858 -0.1435)
OKLCHoklch(65.34% 0.235 322.3)
XYZxyz(42.1826, 24.2074, 74.3874)
Luminance0.2420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4EE2 #61E24E
analogous
#854EE2 #CF4EE2 #E24EAB
triadic
#CF4EE2 #E2CF4E #4EE2CF
tetradic
#CF4EE2 #E2854E #61E24E #4EABE2
square
#CF4EE2 #E2854E #61E24E #4EABE2
split-complementary
#CF4EE2 #ABE24E #4EE285
monochromatic
#8B1A9C #BA22D1 #CF4EE2 #DD83EB #ECB7F3

Accessibility & contrast

On white

3.60
#CF4EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#CF4EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4EE2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4EE2#FFFFFF#000000##000000
##CF4EE21.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf4ee2;
/* rgb */ color: rgb(207, 78, 226);
/* oklch */ color: oklch(65.3% 0.235 322.3);
Tailwind
colors: {
  custom: {
    50: '#e189ec',
    500: '#cf4ee2',
    950: '#000000',
  },
}
SCSS
$custom: #cf4ee2;
$custom-light: #e189ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4ee2",
  "rgb": {
    "r": 207,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 292.297,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65337,
    "c": 0.23478,
    "h": 322.3
  },
  "luminance": 0.24205
}

Semantic roles & 50–950 ramp

primary
#CF4EE2
secondary
#B1E3A9
accent
#EF3951
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CF4EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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