#CF37C2#CF37C2

#CF37C2 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.5% C 0.236 H 331.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CF37C2
RGBrgb(207, 55, 194)
HSLhsl(305, 61%, 51%)
HSVhsv(305, 73%, 81%)
CMYKcmyk(0%, 73.4%, 6.3%, 18.8%)
CIE-LABlab(51.72, 72.65, -40.50)
CIE-LCHlch(51.72, 83.17, 330.86°)
OKLaboklab(61.5% 0.2082 -0.1114)
OKLCHoklch(61.5% 0.236 331.8)
XYZxyz(36.8360, 19.8958, 52.9287)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF37C2 #37CF44
analogous
#9037CF #CF37C2 #CF3776
triadic
#CF37C2 #C2CF37 #37C2CF
tetradic
#CF37C2 #CF9037 #37CF44 #3776CF
square
#CF37C2 #CF9037 #37CF44 #3776CF
split-complementary
#CF37C2 #76CF37 #37CF90
monochromatic
#711B69 #A22797 #CF37C2 #DB68D1 #E79AE0

Accessibility & contrast

On white

4.22
#CF37C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CF37C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF37C2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF37C2#FFFFFF#000000##000000
##CF37C21.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C6EC6
Deuteranopia (green-blind)
#6883BE
Tritanopia (blue-blind)
#D8497A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf37c2;
/* rgb */ color: rgb(207, 55, 194);
/* oklch */ color: oklch(61.5% 0.236 331.8);
Tailwind
colors: {
  custom: {
    50: '#e27dd5',
    500: '#cf37c2',
    950: '#000000',
  },
}
SCSS
$custom: #cf37c2;
$custom-light: #e27dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf37c2",
  "rgb": {
    "r": 207,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 305.132,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61501,
    "c": 0.23612,
    "h": 331.8
  },
  "luminance": 0.19893
}

Semantic roles & 50–950 ramp

primary
#CF37C2
secondary
#8FD295
accent
#E45143
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CF37C2

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

Preview Lab → · Contrast checker → · Palette generator →

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