#CF37C4#CF37C4

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

Color values

HEX#CF37C4
RGBrgb(207, 55, 196)
HSLhsl(304, 61%, 51%)
HSVhsv(304, 73%, 81%)
CMYKcmyk(0%, 73.4%, 5.3%, 18.8%)
CIE-LABlab(51.82, 72.95, -41.49)
CIE-LCHlch(51.82, 83.93, 330.37°)
OKLaboklab(61.61% 0.2082 -0.1143)
OKLCHoklch(61.61% 0.238 331.2)
XYZxyz(37.0621, 19.9863, 54.1196)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF37C4 #37CF42
analogous
#8E37CF #CF37C4 #CF3778
triadic
#CF37C4 #C4CF37 #37C4CF
tetradic
#CF37C4 #CF8E37 #37CF42 #3778CF
square
#CF37C4 #CF8E37 #37CF42 #3778CF
split-complementary
#CF37C4 #78CF37 #37CF8E
monochromatic
#711B6A #A22799 #CF37C4 #DB68D3 #E79AE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF37C4#FFFFFF#000000##000000
##CF37C41.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)
#296EC8
Deuteranopia (green-blind)
#6783C0
Tritanopia (blue-blind)
#D74A7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf37c4;
/* rgb */ color: rgb(207, 55, 196);
/* oklch */ color: oklch(61.6% 0.238 331.2);
Tailwind
colors: {
  custom: {
    50: '#e27dd6',
    500: '#cf37c4',
    950: '#000000',
  },
}
SCSS
$custom: #cf37c4;
$custom-light: #e27dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf37c4",
  "rgb": {
    "r": 207,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 304.342,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61608,
    "c": 0.23754,
    "h": 331.2
  },
  "luminance": 0.19983
}

Semantic roles & 50–950 ramp

primary
#CF37C4
secondary
#8FD294
accent
#E44F43
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CF37C4

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

Preview Lab → · Contrast checker → · Palette generator →

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