#CF30C5#CF30C5

#CF30C5 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.2% C 0.245 H 330.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CF30C5
RGBrgb(207, 48, 197)
HSLhsl(304, 62%, 50%)
HSVhsv(304, 77%, 81%)
CMYKcmyk(0%, 76.8%, 4.8%, 18.8%)
CIE-LABlab(51.17, 75.13, -43.11)
CIE-LCHlch(51.17, 86.62, 330.16°)
OKLaboklab(61.16% 0.2141 -0.1189)
OKLCHoklch(61.16% 0.245 330.9)
XYZxyz(36.8671, 19.4135, 54.6180)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF30C5 #30CF3A
analogous
#8A30CF #CF30C5 #CF3075
triadic
#CF30C5 #C5CF30 #30C5CF
tetradic
#CF30C5 #CF8A30 #30CF3A #3075CF
square
#CF30C5 #CF8A30 #30CF3A #3075CF
split-complementary
#CF30C5 #75CF30 #30CF8A
monochromatic
#6C1966 #9D2496 #CF30C5 #DB62D3 #E693E1

Accessibility & contrast

On white

4.30
#CF30C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CF30C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF30C5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF30C5#FFFFFF#000000##000000
##CF30C51.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C6CC9
Deuteranopia (green-blind)
#6481C1
Tritanopia (blue-blind)
#D7467A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf30c5;
/* rgb */ color: rgb(207, 48, 197);
/* oklch */ color: oklch(61.2% 0.245 330.9);
Tailwind
colors: {
  custom: {
    50: '#e27ad7',
    500: '#cf30c5',
    950: '#000000',
  },
}
SCSS
$custom: #cf30c5;
$custom-light: #e27ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf30c5",
  "rgb": {
    "r": 207,
    "g": 48,
    "b": 197
  },
  "hsl": {
    "h": 303.774,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.61156,
    "c": 0.24492,
    "h": 330.9
  },
  "luminance": 0.19411
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF30C5

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

Preview Lab → · Contrast checker → · Palette generator →

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