#CF30CF#CF30CF

#CF30CF is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.7% C 0.252 H 328.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CF30CF
RGBrgb(207, 48, 207)
HSLhsl(300, 62%, 50%)
HSVhsv(300, 77%, 81%)
CMYKcmyk(0%, 76.8%, 0%, 18.8%)
CIE-LABlab(51.71, 76.66, -48.00)
CIE-LCHlch(51.71, 90.45, 327.95°)
OKLaboklab(61.72% 0.214 -0.1331)
OKLCHoklch(61.72% 0.252 328.1)
XYZxyz(38.0511, 19.8871, 60.8539)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF30CF #30CF30
analogous
#7F30CF #CF30CF #CF3080
triadic
#CF30CF #CFCF30 #30CFCF
tetradic
#CF30CF #CF8030 #30CF30 #307FCF
square
#CF30CF #CF8030 #30CF30 #307FCF
split-complementary
#CF30CF #80CF30 #30CF80
monochromatic
#6C196C #9D249D #CF30CF #DB62DB #E693E6

Accessibility & contrast

On white

4.22
#CF30CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CF30CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF30CF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF30CF#FFFFFF#000000##000000
##CF30CF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#5E82CB
Tritanopia (blue-blind)
#D64B7F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf30cf;
/* rgb */ color: rgb(207, 48, 207);
/* oklch */ color: oklch(61.7% 0.252 328.1);
Tailwind
colors: {
  custom: {
    50: '#e27bde',
    500: '#cf30cf',
    950: '#000000',
  },
}
SCSS
$custom: #cf30cf;
$custom-light: #e27bde;
$custom-dark: #000000;
JSON
{
  "hex": "#cf30cf",
  "rgb": {
    "r": 207,
    "g": 48,
    "b": 207
  },
  "hsl": {
    "h": 300,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.61717,
    "c": 0.25203,
    "h": 328.1
  },
  "luminance": 0.19884
}

Semantic roles & 50–950 ramp

primary
#CF30CF
secondary
#8AD18A
accent
#E54242
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CF30CF

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

Preview Lab → · Contrast checker → · Palette generator →

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