#CF2FB7#CF2FB7

#CF2FB7 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.3% C 0.236 H 335.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CF2FB7
RGBrgb(207, 47, 183)
HSLhsl(309, 63%, 50%)
HSVhsv(309, 77%, 81%)
CMYKcmyk(0%, 77.3%, 11.6%, 18.8%)
CIE-LABlab(50.36, 73.36, -36.25)
CIE-LCHlch(50.36, 81.83, 333.71°)
OKLaboklab(60.35% 0.2144 -0.0991)
OKLCHoklch(60.35% 0.236 335.2)
XYZxyz(35.2964, 18.7206, 46.5451)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2FB7 #2FCF47
analogous
#972FCF #CF2FB7 #CF2F67
triadic
#CF2FB7 #B7CF2F #2FB7CF
tetradic
#CF2FB7 #CF972F #2FCF47 #2F67CF
square
#CF2FB7 #CF972F #2FCF47 #2F67CF
split-complementary
#CF2FB7 #67CF2F #2FCF97
monochromatic
#6B185F #9D248B #CF2FB7 #DB60C9 #E692DA

Accessibility & contrast

On white

4.43
#CF2FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CF2FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF2FB7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2FB7#FFFFFF#000000##000000
##CF2FB71.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F69BB
Deuteranopia (green-blind)
#6B80B3
Tritanopia (blue-blind)
#D93E71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf2fb7;
/* rgb */ color: rgb(207, 47, 183);
/* oklch */ color: oklch(60.3% 0.236 335.2);
Tailwind
colors: {
  custom: {
    50: '#e27acd',
    500: '#cf2fb7',
    950: '#000000',
  },
}
SCSS
$custom: #cf2fb7;
$custom-light: #e27acd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2fb7",
  "rgb": {
    "r": 207,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 309,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.60346,
    "c": 0.23625,
    "h": 335.2
  },
  "luminance": 0.18717
}

Semantic roles & 50–950 ramp

primary
#CF2FB7
secondary
#89D194
accent
#E65A42
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160A13
muted
#847C82

Preview Lab

Preview with #CF2FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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