#CF4EC2#CF4EC2

#CF4EC2 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.6% C 0.209 H 331.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#CF4EC2
RGBrgb(207, 78, 194)
HSLhsl(306, 57%, 56%)
HSVhsv(306, 62%, 81%)
CMYKcmyk(0%, 62.3%, 6.3%, 18.8%)
CIE-LABlab(54.67, 64.35, -35.86)
CIE-LCHlch(54.67, 73.67, 330.87°)
OKLaboklab(63.63% 0.1841 -0.0982)
OKLCHoklch(63.63% 0.209 331.9)
XYZxyz(38.1941, 22.6121, 53.3814)
Luminance0.2261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4EC2 #4ECF5B
analogous
#9C4ECF #CF4EC2 #CF4E81
triadic
#CF4EC2 #C2CF4E #4EC2CF
tetradic
#CF4EC2 #CF9C4E #4ECF5B #4E81CF
square
#CF4EC2 #CF9C4E #4ECF5B #4E81CF
split-complementary
#CF4EC2 #81CF4E #4ECF9C
monochromatic
#802377 #B030A3 #CF4EC2 #DC7ED3 #E9AEE3

Accessibility & contrast

On white

3.80
#CF4EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#CF4EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4EC2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4EC2#FFFFFF#000000##000000
##CF4EC21.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4877C5
Deuteranopia (green-blind)
#7389BF
Tritanopia (blue-blind)
#D75A81
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf4ec2;
/* rgb */ color: rgb(207, 78, 194);
/* oklch */ color: oklch(63.6% 0.209 331.9);
Tailwind
colors: {
  custom: {
    50: '#e188d5',
    500: '#cf4ec2',
    950: '#000000',
  },
}
SCSS
$custom: #cf4ec2;
$custom-light: #e188d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4ec2",
  "rgb": {
    "r": 207,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 306.047,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63634,
    "c": 0.20869,
    "h": 331.9
  },
  "luminance": 0.22609
}

Semantic roles & 50–950 ramp

primary
#CF4EC2
secondary
#A2D7A7
accent
#E15747
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CF4EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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