#CF3EB9#CF3EB9

#CF3EB9 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.6% C 0.222 H 334.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CF3EB9
RGBrgb(207, 62, 185)
HSLhsl(309, 60%, 53%)
HSVhsv(309, 70%, 81%)
CMYKcmyk(0%, 70%, 10.6%, 18.8%)
CIE-LABlab(52.08, 69.02, -34.71)
CIE-LCHlch(52.08, 77.26, 333.30°)
OKLaboklab(61.62% 0.2009 -0.0948)
OKLCHoklch(61.62% 0.222 334.7)
XYZxyz(36.2121, 20.2165, 47.8845)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3EB9 #3ECF54
analogous
#9C3ECF #CF3EB9 #CF3E71
triadic
#CF3EB9 #B9CF3E #3EB9CF
tetradic
#CF3EB9 #CF9C3E #3ECF54 #3E71CF
square
#CF3EB9 #CF9C3E #3ECF54 #3E71CF
split-complementary
#CF3EB9 #71CF3E #3ECF9C
monochromatic
#751D68 #A62993 #CF3EB9 #DB6FCB #E7A0DD

Accessibility & contrast

On white

4.16
#CF3EB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CF3EB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF3EB9
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3EB9#FFFFFF#000000##000000
##CF3EB91.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6FBC
Deuteranopia (green-blind)
#6F84B5
Tritanopia (blue-blind)
#D94977
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf3eb9;
/* rgb */ color: rgb(207, 62, 185);
/* oklch */ color: oklch(61.6% 0.222 334.7);
Tailwind
colors: {
  custom: {
    50: '#e180ce',
    500: '#cf3eb9',
    950: '#000000',
  },
}
SCSS
$custom: #cf3eb9;
$custom-light: #e180ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3eb9",
  "rgb": {
    "r": 207,
    "g": 62,
    "b": 185
  },
  "hsl": {
    "h": 309.103,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61618,
    "c": 0.22215,
    "h": 334.7
  },
  "luminance": 0.20213
}

Semantic roles & 50–950 ramp

primary
#CF3EB9
secondary
#95D49F
accent
#E35D44
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF3EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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