#CF2EC9#CF2EC9

#CF2EC9 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.2% C 0.249 H 329.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#CF2EC9
RGBrgb(207, 46, 201)
HSLhsl(302, 64%, 50%)
HSVhsv(302, 78%, 81%)
CMYKcmyk(0%, 77.8%, 2.9%, 18.8%)
CIE-LABlab(51.20, 76.26, -45.37)
CIE-LCHlch(51.20, 88.74, 329.25°)
OKLaboklab(61.25% 0.2156 -0.1255)
OKLCHoklch(61.25% 0.249 329.8)
XYZxyz(37.2515, 19.4394, 57.0372)
Luminance0.1944 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2EC9 #2ECF34
analogous
#852ECF #CF2EC9 #CF2E79
triadic
#CF2EC9 #C9CF2E #2EC9CF
tetradic
#CF2EC9 #CF852E #2ECF34 #2E79CF
square
#CF2EC9 #CF852E #2ECF34 #2E79CF
split-complementary
#CF2EC9 #79CF2E #2ECF85
monochromatic
#6B1868 #9D2398 #CF2EC9 #DB5FD7 #E791E3

Accessibility & contrast

On white

4.30
#CF2EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#CF2EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF2EC9
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2EC9#FFFFFF#000000##000000
##CF2EC91.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D6CCD
Deuteranopia (green-blind)
#6181C5
Tritanopia (blue-blind)
#D7477B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf2ec9;
/* rgb */ color: rgb(207, 46, 201);
/* oklch */ color: oklch(61.2% 0.249 329.8);
Tailwind
colors: {
  custom: {
    50: '#e27ada',
    500: '#cf2ec9',
    950: '#000000',
  },
}
SCSS
$custom: #cf2ec9;
$custom-light: #e27ada;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2ec9",
  "rgb": {
    "r": 207,
    "g": 46,
    "b": 201
  },
  "hsl": {
    "h": 302.236,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.61247,
    "c": 0.24948,
    "h": 329.8
  },
  "luminance": 0.19436
}

Semantic roles & 50–950 ramp

primary
#CF2EC9
secondary
#88D18A
accent
#E74741
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CF2EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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