#CF33B8#CF33B8

#CF33B8 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.7% C 0.233 H 334.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CF33B8
RGBrgb(207, 51, 184)
HSLhsl(309, 62%, 51%)
HSVhsv(309, 75%, 81%)
CMYKcmyk(0%, 75.4%, 11.1%, 18.8%)
CIE-LABlab(50.80, 72.38, -36.14)
CIE-LCHlch(50.80, 80.90, 333.47°)
OKLaboklab(60.68% 0.2112 -0.0988)
OKLCHoklch(60.68% 0.233 334.9)
XYZxyz(35.5681, 19.0969, 47.1509)
Luminance0.1909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF33B8 #33CF4A
analogous
#9833CF #CF33B8 #CF336A
triadic
#CF33B8 #B8CF33 #33B8CF
tetradic
#CF33B8 #CF9833 #33CF4A #336ACF
square
#CF33B8 #CF9833 #33CF4A #336ACF
split-complementary
#CF33B8 #6ACF33 #33CF98
monochromatic
#6E1A61 #9F258D #CF33B8 #DB65C9 #E696DA

Accessibility & contrast

On white

4.36
#CF33B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#CF33B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF33B8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF33B8#FFFFFF#000000##000000
##CF33B81.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#326ABC
Deuteranopia (green-blind)
#6B81B4
Tritanopia (blue-blind)
#D94173
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf33b8;
/* rgb */ color: rgb(207, 51, 184);
/* oklch */ color: oklch(60.7% 0.233 334.9);
Tailwind
colors: {
  custom: {
    50: '#e27bce',
    500: '#cf33b8',
    950: '#000000',
  },
}
SCSS
$custom: #cf33b8;
$custom-light: #e27bce;
$custom-dark: #000000;
JSON
{
  "hex": "#cf33b8",
  "rgb": {
    "r": 207,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 308.846,
    "s": 61.905,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60679,
    "c": 0.23315,
    "h": 334.9
  },
  "luminance": 0.19094
}

Semantic roles & 50–950 ramp

primary
#CF33B8
secondary
#8CD296
accent
#E55B43
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF33B8

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

Preview Lab → · Contrast checker → · Palette generator →

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