#CF39B8#CF39B8

#CF39B8 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.1% C 0.227 H 335.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CF39B8
RGBrgb(207, 57, 184)
HSLhsl(309, 61%, 52%)
HSVhsv(309, 72%, 81%)
CMYKcmyk(0%, 72.5%, 11.1%, 18.8%)
CIE-LABlab(51.45, 70.54, -35.13)
CIE-LCHlch(51.45, 78.80, 333.53°)
OKLaboklab(61.14% 0.2057 -0.096)
OKLCHoklch(61.14% 0.227 335)
XYZxyz(35.8474, 19.6555, 47.2440)
Luminance0.1965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF39B8 #39CF50
analogous
#9B39CF #CF39B8 #CF396D
triadic
#CF39B8 #B8CF39 #39B8CF
tetradic
#CF39B8 #CF9B39 #39CF50 #396DCF
square
#CF39B8 #CF9B39 #39CF50 #396DCF
split-complementary
#CF39B8 #6DCF39 #39CF9B
monochromatic
#721C65 #A32890 #CF39B8 #DB6ACA #E79CDB

Accessibility & contrast

On white

4.26
#CF39B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CF39B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF39B8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF39B8#FFFFFF#000000##000000
##CF39B81.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#386CBB
Deuteranopia (green-blind)
#6E82B4
Tritanopia (blue-blind)
#D94575
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf39b8;
/* rgb */ color: rgb(207, 57, 184);
/* oklch */ color: oklch(61.1% 0.227 335.0);
Tailwind
colors: {
  custom: {
    50: '#e27ecd',
    500: '#cf39b8',
    950: '#000000',
  },
}
SCSS
$custom: #cf39b8;
$custom-light: #e27ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf39b8",
  "rgb": {
    "r": 207,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 309.2,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.61144,
    "c": 0.22701,
    "h": 335
  },
  "luminance": 0.19652
}

Semantic roles & 50–950 ramp

primary
#CF39B8
secondary
#91D39B
accent
#E45C44
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF39B8

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

Preview Lab → · Contrast checker → · Palette generator →

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