#CF37B7#CF37B7

#CF37B7 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.9% C 0.228 H 335.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CF37B7
RGBrgb(207, 55, 183)
HSLhsl(309, 61%, 51%)
HSVhsv(309, 73%, 81%)
CMYKcmyk(0%, 73.4%, 11.6%, 18.8%)
CIE-LABlab(51.17, 71.03, -34.97)
CIE-LCHlch(51.17, 79.17, 333.79°)
OKLaboklab(60.93% 0.2075 -0.0955)
OKLCHoklch(60.93% 0.228 335.3)
XYZxyz(35.6460, 19.4199, 46.6616)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF37B7 #37CF4F
analogous
#9B37CF #CF37B7 #CF376B
triadic
#CF37B7 #B7CF37 #37B7CF
tetradic
#CF37B7 #CF9B37 #37CF4F #376BCF
square
#CF37B7 #CF9B37 #37CF4F #376BCF
split-complementary
#CF37B7 #6BCF37 #37CF9B
monochromatic
#711B63 #A2278F #CF37B7 #DB68C9 #E79ADB

Accessibility & contrast

On white

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

On black

4.88
#CF37B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF37B7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF37B7#FFFFFF#000000##000000
##CF37B71.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#376BBA
Deuteranopia (green-blind)
#6D82B3
Tritanopia (blue-blind)
#D94374
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf37b7;
/* rgb */ color: rgb(207, 55, 183);
/* oklch */ color: oklch(60.9% 0.228 335.3);
Tailwind
colors: {
  custom: {
    50: '#e27dcd',
    500: '#cf37b7',
    950: '#000000',
  },
}
SCSS
$custom: #cf37b7;
$custom-light: #e27dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf37b7",
  "rgb": {
    "r": 207,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 309.474,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60933,
    "c": 0.22844,
    "h": 335.3
  },
  "luminance": 0.19417
}

Semantic roles & 50–950 ramp

primary
#CF37B7
secondary
#8FD29A
accent
#E45D43
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF37B7

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

Preview Lab → · Contrast checker → · Palette generator →

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