#CF37CB#CF37CB

#CF37CB is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 62.0% C 0.243 H 329.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CF37CB
RGBrgb(207, 55, 203)
HSLhsl(302, 61%, 51%)
HSVhsv(302, 73%, 81%)
CMYKcmyk(0%, 73.4%, 1.9%, 18.8%)
CIE-LABlab(52.19, 74.03, -44.94)
CIE-LCHlch(52.19, 86.60, 328.74°)
OKLaboklab(61.99% 0.2084 -0.1243)
OKLCHoklch(61.99% 0.243 329.2)
XYZxyz(37.8775, 20.3124, 58.4141)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF37CB #37CF3B
analogous
#8737CF #CF37CB #CF377F
triadic
#CF37CB #CBCF37 #37CBCF
tetradic
#CF37CB #CF8737 #37CF3B #377FCF
square
#CF37CB #CF8737 #37CF3B #377FCF
split-complementary
#CF37CB #7FCF37 #37CF87
monochromatic
#711B6E #A2279F #CF37CB #DB68D8 #E79AE5

Accessibility & contrast

On white

4.15
#CF37CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CF37CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF37CB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF37CB#FFFFFF#000000##000000
##CF37CB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E70CF
Deuteranopia (green-blind)
#6383C7
Tritanopia (blue-blind)
#D64D7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf37cb;
/* rgb */ color: rgb(207, 55, 203);
/* oklch */ color: oklch(62.0% 0.243 329.2);
Tailwind
colors: {
  custom: {
    50: '#e27ddb',
    500: '#cf37cb',
    950: '#000000',
  },
}
SCSS
$custom: #cf37cb;
$custom-light: #e27ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf37cb",
  "rgb": {
    "r": 207,
    "g": 55,
    "b": 203
  },
  "hsl": {
    "h": 301.579,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61989,
    "c": 0.24262,
    "h": 329.2
  },
  "luminance": 0.2031
}

Semantic roles & 50–950 ramp

primary
#CF37CB
secondary
#8FD291
accent
#E44843
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CF37CB

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

Preview Lab → · Contrast checker → · Palette generator →

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