#CF30CD#CF30CD

#CF30CD is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.6% C 0.251 H 328.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CF30CD
RGBrgb(207, 48, 205)
HSLhsl(301, 62%, 50%)
HSVhsv(301, 77%, 81%)
CMYKcmyk(0%, 76.8%, 1%, 18.8%)
CIE-LABlab(51.60, 76.35, -47.03)
CIE-LCHlch(51.60, 89.67, 328.37°)
OKLaboklab(61.6% 0.214 -0.1303)
OKLCHoklch(61.6% 0.251 328.7)
XYZxyz(37.8082, 19.7900, 59.5743)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF30CD #30CF32
analogous
#8230CF #CF30CD #CF307D
triadic
#CF30CD #CDCF30 #30CDCF
tetradic
#CF30CD #CF8230 #30CF32 #307DCF
square
#CF30CD #CF8230 #30CF32 #307DCF
split-complementary
#CF30CD #7DCF30 #30CF82
monochromatic
#6C196B #9D249C #CF30CD #DB62D9 #E693E5

Accessibility & contrast

On white

4.24
#CF30CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CF30CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF30CD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF30CD#FFFFFF#000000##000000
##CF30CD1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#036ED1
Deuteranopia (green-blind)
#5F82C9
Tritanopia (blue-blind)
#D64A7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf30cd;
/* rgb */ color: rgb(207, 48, 205);
/* oklch */ color: oklch(61.6% 0.251 328.7);
Tailwind
colors: {
  custom: {
    50: '#e27bdd',
    500: '#cf30cd',
    950: '#000000',
  },
}
SCSS
$custom: #cf30cd;
$custom-light: #e27bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf30cd",
  "rgb": {
    "r": 207,
    "g": 48,
    "b": 205
  },
  "hsl": {
    "h": 300.755,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.61603,
    "c": 0.25059,
    "h": 328.7
  },
  "luminance": 0.19787
}

Semantic roles & 50–950 ramp

primary
#CF30CD
secondary
#8AD18B
accent
#E54442
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CF30CD

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

Preview Lab → · Contrast checker → · Palette generator →

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