#CF3DB7#CF3DB7

#CF3DB7 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.4% C 0.222 H 335.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CF3DB7
RGBrgb(207, 61, 183)
HSLhsl(310, 60%, 53%)
HSVhsv(310, 71%, 81%)
CMYKcmyk(0%, 70.5%, 11.6%, 18.8%)
CIE-LABlab(51.87, 69.07, -33.89)
CIE-LCHlch(51.87, 76.93, 333.87°)
OKLaboklab(61.43% 0.2017 -0.0925)
OKLCHoklch(61.43% 0.222 335.4)
XYZxyz(35.9486, 20.0249, 46.7625)
Luminance0.2002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3DB7 #3DCF55
analogous
#9E3DCF #CF3DB7 #CF3D6E
triadic
#CF3DB7 #B7CF3D #3DB7CF
tetradic
#CF3DB7 #CF9E3D #3DCF55 #3D6ECF
square
#CF3DB7 #CF9E3D #3DCF55 #3D6ECF
split-complementary
#CF3DB7 #6ECF3D #3DCF9E
monochromatic
#751D66 #A62991 #CF3DB7 #DB6EC9 #E79FDB

Accessibility & contrast

On white

4.20
#CF3DB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CF3DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF3DB7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3DB7#FFFFFF#000000##000000
##CF3DB71.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6EBA
Deuteranopia (green-blind)
#7083B3
Tritanopia (blue-blind)
#D94875
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf3db7;
/* rgb */ color: rgb(207, 61, 183);
/* oklch */ color: oklch(61.4% 0.222 335.4);
Tailwind
colors: {
  custom: {
    50: '#e17fcd',
    500: '#cf3db7',
    950: '#000000',
  },
}
SCSS
$custom: #cf3db7;
$custom-light: #e17fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3db7",
  "rgb": {
    "r": 207,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 309.863,
    "s": 60.331,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61431,
    "c": 0.22189,
    "h": 335.4
  },
  "luminance": 0.20022
}

Semantic roles & 50–950 ramp

primary
#CF3DB7
secondary
#94D49F
accent
#E35E44
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF3DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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