#CA30C9#CA30C9

#CA30C9 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.6% C 0.245 H 328.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CA30C9
RGBrgb(202, 48, 201)
HSLhsl(300, 62%, 49%)
HSVhsv(300, 76%, 79%)
CMYKcmyk(0%, 76.2%, 0.5%, 20.8%)
CIE-LABlab(50.56, 74.73, -46.43)
CIE-LCHlch(50.56, 87.98, 328.14°)
OKLaboklab(60.63% 0.2091 -0.1287)
OKLCHoklch(60.63% 0.246 328.4)
XYZxyz(35.9563, 18.8902, 56.9994)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA30C9 #30CA31
analogous
#7E30CA #CA30C9 #CA307C
triadic
#CA30C9 #C9CA30 #30C9CA
tetradic
#CA30C9 #CA7E30 #30CA31 #307CCA
square
#CA30C9 #CA7E30 #30CA31 #307CCA
split-complementary
#CA30C9 #7CCA30 #30CA7E
monochromatic
#671867 #992498 #CA30C9 #D95ED8 #E590E4

Accessibility & contrast

On white

4.40
#CA30C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#CA30C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA30C9
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA30C9#FFFFFF#000000##000000
##CA30C91.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#056CCD
Deuteranopia (green-blind)
#5D7FC5
Tritanopia (blue-blind)
#D1497C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca30c9;
/* rgb */ color: rgb(202, 48, 201);
/* oklch */ color: oklch(60.6% 0.245 328.4);
Tailwind
colors: {
  custom: {
    50: '#de7ada',
    500: '#ca30c9',
    950: '#000000',
  },
}
SCSS
$custom: #ca30c9;
$custom-light: #de7ada;
$custom-dark: #000000;
JSON
{
  "hex": "#ca30c9",
  "rgb": {
    "r": 202,
    "g": 48,
    "b": 201
  },
  "hsl": {
    "h": 300.39,
    "s": 61.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.60635,
    "c": 0.2455,
    "h": 328.4
  },
  "luminance": 0.18888
}

Semantic roles & 50–950 ramp

primary
#CA30C9
secondary
#87CF87
accent
#E54443
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160A15
muted
#847C83

Preview Lab

Preview with #CA30C9

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

Preview Lab → · Contrast checker → · Palette generator →

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