#CF37C1#CF37C1

#CF37C1 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.4% C 0.235 H 332.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CF37C1
RGBrgb(207, 55, 193)
HSLhsl(306, 61%, 51%)
HSVhsv(306, 73%, 81%)
CMYKcmyk(0%, 73.4%, 6.8%, 18.8%)
CIE-LABlab(51.67, 72.50, -40.00)
CIE-LCHlch(51.67, 82.80, 331.11°)
OKLaboklab(61.45% 0.2081 -0.11)
OKLCHoklch(61.45% 0.235 332.1)
XYZxyz(36.7240, 19.8511, 52.3392)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF37C1 #37CF45
analogous
#9137CF #CF37C1 #CF3775
triadic
#CF37C1 #C1CF37 #37C1CF
tetradic
#CF37C1 #CF9137 #37CF45 #3775CF
square
#CF37C1 #CF9137 #37CF45 #3775CF
split-complementary
#CF37C1 #75CF37 #37CF91
monochromatic
#711B69 #A22797 #CF37C1 #DB68D0 #E79AE0

Accessibility & contrast

On white

4.23
#CF37C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CF37C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF37C1
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF37C1#FFFFFF#000000##000000
##CF37C11.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D6DC5
Deuteranopia (green-blind)
#6983BD
Tritanopia (blue-blind)
#D84879
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf37c1;
/* rgb */ color: rgb(207, 55, 193);
/* oklch */ color: oklch(61.4% 0.235 332.1);
Tailwind
colors: {
  custom: {
    50: '#e27dd4',
    500: '#cf37c1',
    950: '#000000',
  },
}
SCSS
$custom: #cf37c1;
$custom-light: #e27dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf37c1",
  "rgb": {
    "r": 207,
    "g": 55,
    "b": 193
  },
  "hsl": {
    "h": 305.526,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61448,
    "c": 0.23541,
    "h": 332.1
  },
  "luminance": 0.19848
}

Semantic roles & 50–950 ramp

primary
#CF37C1
secondary
#8FD296
accent
#E45243
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CF37C1

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

Preview Lab → · Contrast checker → · Palette generator →

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