#CF39C2#CF39C2

#CF39C2 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.7% C 0.234 H 331.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CF39C2
RGBrgb(207, 57, 194)
HSLhsl(305, 61%, 52%)
HSVhsv(305, 72%, 81%)
CMYKcmyk(0%, 72.5%, 6.3%, 18.8%)
CIE-LABlab(51.94, 72.02, -40.15)
CIE-LCHlch(51.94, 82.46, 330.86°)
OKLaboklab(61.66% 0.2064 -0.1104)
OKLCHoklch(61.66% 0.234 331.8)
XYZxyz(36.9329, 20.0897, 52.9610)
Luminance0.2009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF39C2 #39CF46
analogous
#9139CF #CF39C2 #CF3977
triadic
#CF39C2 #C2CF39 #39C2CF
tetradic
#CF39C2 #CF9139 #39CF46 #3977CF
square
#CF39C2 #CF9139 #39CF46 #3977CF
split-complementary
#CF39C2 #77CF39 #39CF91
monochromatic
#721C6A #A32899 #CF39C2 #DB6AD1 #E79CE0

Accessibility & contrast

On white

4.19
#CF39C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#CF39C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF39C2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF39C2#FFFFFF#000000##000000
##CF39C21.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E6EC6
Deuteranopia (green-blind)
#6983BE
Tritanopia (blue-blind)
#D84A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf39c2;
/* rgb */ color: rgb(207, 57, 194);
/* oklch */ color: oklch(61.7% 0.234 331.8);
Tailwind
colors: {
  custom: {
    50: '#e27ed5',
    500: '#cf39c2',
    950: '#000000',
  },
}
SCSS
$custom: #cf39c2;
$custom-light: #e27ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf39c2",
  "rgb": {
    "r": 207,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 305.2,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.61658,
    "c": 0.23405,
    "h": 331.8
  },
  "luminance": 0.20087
}

Semantic roles & 50–950 ramp

primary
#CF39C2
secondary
#91D397
accent
#E45244
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CF39C2

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

Preview Lab → · Contrast checker → · Palette generator →

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