#CF37CA#CF37CA

#CF37CA is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.9% C 0.242 H 329.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CF37CA
RGBrgb(207, 55, 202)
HSLhsl(302, 61%, 51%)
HSVhsv(302, 73%, 81%)
CMYKcmyk(0%, 73.4%, 2.4%, 18.8%)
CIE-LABlab(52.14, 73.87, -44.45)
CIE-LCHlch(52.14, 86.22, 328.96°)
OKLaboklab(61.93% 0.2083 -0.1229)
OKLCHoklch(61.93% 0.242 329.5)
XYZxyz(37.7587, 20.2649, 57.7885)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF37CA #37CF3C
analogous
#8837CF #CF37CA #CF377E
triadic
#CF37CA #CACF37 #37CACF
tetradic
#CF37CA #CF8837 #37CF3C #377ECF
square
#CF37CA #CF8837 #37CF3C #377ECF
split-complementary
#CF37CA #7ECF37 #37CF88
monochromatic
#711B6E #A2279E #CF37CA #DB68D7 #E79AE4

Accessibility & contrast

On white

4.16
#CF37CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CF37CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF37CA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF37CA#FFFFFF#000000##000000
##CF37CA1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#206FCE
Deuteranopia (green-blind)
#6483C6
Tritanopia (blue-blind)
#D64D7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf37ca;
/* rgb */ color: rgb(207, 55, 202);
/* oklch */ color: oklch(61.9% 0.242 329.5);
Tailwind
colors: {
  custom: {
    50: '#e27ddb',
    500: '#cf37ca',
    950: '#000000',
  },
}
SCSS
$custom: #cf37ca;
$custom-light: #e27ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf37ca",
  "rgb": {
    "r": 207,
    "g": 55,
    "b": 202
  },
  "hsl": {
    "h": 301.974,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61934,
    "c": 0.24188,
    "h": 329.5
  },
  "luminance": 0.20262
}

Semantic roles & 50–950 ramp

primary
#CF37CA
secondary
#8FD292
accent
#E44943
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CF37CA

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

Preview Lab → · Contrast checker → · Palette generator →

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