#CF2FCC#CF2FCC

#CF2FCC is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.5% C 0.251 H 329.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CF2FCC
RGBrgb(207, 47, 204)
HSLhsl(301, 63%, 50%)
HSVhsv(301, 77%, 81%)
CMYKcmyk(0%, 77.3%, 1.4%, 18.8%)
CIE-LABlab(51.45, 76.46, -46.69)
CIE-LCHlch(51.45, 89.59, 328.59°)
OKLaboklab(61.48% 0.2148 -0.1293)
OKLCHoklch(61.48% 0.251 329)
XYZxyz(37.6474, 19.6610, 58.9271)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF2FCC #2FCF32
analogous
#822FCF #CF2FCC #CF2F7C
triadic
#CF2FCC #CCCF2F #2FCCCF
tetradic
#CF2FCC #CF822F #2FCF32 #2F7CCF
square
#CF2FCC #CF822F #2FCF32 #2F7CCF
split-complementary
#CF2FCC #7CCF2F #2FCF82
monochromatic
#6B186A #9D249B #CF2FCC #DB60D9 #E692E5

Accessibility & contrast

On white

4.26
#CF2FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CF2FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF2FCC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF2FCC#FFFFFF#000000##000000
##CF2FCC1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#046DD0
Deuteranopia (green-blind)
#6082C8
Tritanopia (blue-blind)
#D6497D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf2fcc;
/* rgb */ color: rgb(207, 47, 204);
/* oklch */ color: oklch(61.5% 0.251 329.0);
Tailwind
colors: {
  custom: {
    50: '#e27adc',
    500: '#cf2fcc',
    950: '#000000',
  },
}
SCSS
$custom: #cf2fcc;
$custom-light: #e27adc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf2fcc",
  "rgb": {
    "r": 207,
    "g": 47,
    "b": 204
  },
  "hsl": {
    "h": 301.125,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.61481,
    "c": 0.25075,
    "h": 329
  },
  "luminance": 0.19658
}

Semantic roles & 50–950 ramp

primary
#CF2FCC
secondary
#89D18A
accent
#E64542
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CF2FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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