#CF2FBB#CF2FBB

#CF2FBB is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.6% C 0.239 H 333.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CF2FBB
RGBrgb(207, 47, 187)
HSLhsl(308, 63%, 50%)
HSVhsv(308, 77%, 81%)
CMYKcmyk(0%, 77.3%, 9.7%, 18.8%)
CIE-LABlab(50.56, 73.93, -38.27)
CIE-LCHlch(50.56, 83.25, 332.63°)
OKLaboklab(60.55% 0.2147 -0.1049)
OKLCHoklch(60.55% 0.239 333.9)
XYZxyz(35.7186, 18.8895, 48.7689)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2FBB #2FCF43
analogous
#932FCF #CF2FBB #CF2F6B
triadic
#CF2FBB #BBCF2F #2FBBCF
tetradic
#CF2FBB #CF932F #2FCF43 #2F6BCF
square
#CF2FBB #CF932F #2FCF43 #2F6BCF
split-complementary
#CF2FBB #6BCF2F #2FCF93
monochromatic
#6B1861 #9D248E #CF2FBB #DB60CC #E692DC

Accessibility & contrast

On white

4.40
#CF2FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#CF2FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF2FBB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2FBB#FFFFFF#000000##000000
##CF2FBB1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A6ABF
Deuteranopia (green-blind)
#6980B7
Tritanopia (blue-blind)
#D94074
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf2fbb;
/* rgb */ color: rgb(207, 47, 187);
/* oklch */ color: oklch(60.6% 0.239 333.9);
Tailwind
colors: {
  custom: {
    50: '#e27ad0',
    500: '#cf2fbb',
    950: '#000000',
  },
}
SCSS
$custom: #cf2fbb;
$custom-light: #e27ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2fbb",
  "rgb": {
    "r": 207,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 307.5,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.60553,
    "c": 0.23893,
    "h": 333.9
  },
  "luminance": 0.18886
}

Semantic roles & 50–950 ramp

primary
#CF2FBB
secondary
#89D192
accent
#E65642
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160A14
muted
#847C82

Preview Lab

Preview with #CF2FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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