#CF30C6#CF30C6

#CF30C6 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 61.2% C 0.246 H 330.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#CF30C6
RGBrgb(207, 48, 198)
HSLhsl(303, 62%, 50%)
HSVhsv(303, 77%, 81%)
CMYKcmyk(0%, 76.8%, 4.3%, 18.8%)
CIE-LABlab(51.22, 75.28, -43.60)
CIE-LCHlch(51.22, 86.99, 329.92°)
OKLaboklab(61.21% 0.2141 -0.1204)
OKLCHoklch(61.21% 0.246 330.7)
XYZxyz(36.9820, 19.4595, 55.2234)
Luminance0.1946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF30C6 #30CF39
analogous
#8830CF #CF30C6 #CF3077
triadic
#CF30C6 #C6CF30 #30C6CF
tetradic
#CF30C6 #CF8830 #30CF39 #3077CF
square
#CF30C6 #CF8830 #30CF39 #3077CF
split-complementary
#CF30C6 #77CF30 #30CF88
monochromatic
#6C1967 #9D2496 #CF30C6 #DB62D4 #E693E1

Accessibility & contrast

On white

4.29
#CF30C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#CF30C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF30C6
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF30C6#FFFFFF#000000##000000
##CF30C61.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A6CCA
Deuteranopia (green-blind)
#6382C2
Tritanopia (blue-blind)
#D7467A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf30c6;
/* rgb */ color: rgb(207, 48, 198);
/* oklch */ color: oklch(61.2% 0.246 330.7);
Tailwind
colors: {
  custom: {
    50: '#e27ad8',
    500: '#cf30c6',
    950: '#000000',
  },
}
SCSS
$custom: #cf30c6;
$custom-light: #e27ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf30c6",
  "rgb": {
    "r": 207,
    "g": 48,
    "b": 198
  },
  "hsl": {
    "h": 303.396,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.61211,
    "c": 0.24563,
    "h": 330.7
  },
  "luminance": 0.19457
}

Semantic roles & 50–950 ramp

primary
#CF30C6
secondary
#8AD18E
accent
#E54C42
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CF30C6

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

Preview Lab → · Contrast checker → · Palette generator →

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