#CA30CA#CA30CA

#CA30CA is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.7% C 0.246 H 328.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CA30CA
RGBrgb(202, 48, 202)
HSLhsl(300, 62%, 49%)
HSVhsv(300, 76%, 79%)
CMYKcmyk(0%, 76.2%, 0%, 20.8%)
CIE-LABlab(50.61, 74.88, -46.92)
CIE-LCHlch(50.61, 88.37, 327.93°)
OKLaboklab(60.69% 0.209 -0.1301)
OKLCHoklch(60.69% 0.246 328.1)
XYZxyz(36.0743, 18.9374, 57.6209)
Luminance0.1893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA30CA #30CA30
analogous
#7D30CA #CA30CA #CA307D
triadic
#CA30CA #CACA30 #30CACA
tetradic
#CA30CA #CA7D30 #30CA30 #307DCA
square
#CA30CA #CA7D30 #30CA30 #307DCA
split-complementary
#CA30CA #7DCA30 #30CA7D
monochromatic
#671867 #992499 #CA30CA #D95ED9 #E590E5

Accessibility & contrast

On white

4.39
#CA30CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CA30CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA30CA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA30CA#FFFFFF#000000##000000
##CA30CA1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#006CCE
Deuteranopia (green-blind)
#5C7FC6
Tritanopia (blue-blind)
#D04A7C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca30ca;
/* rgb */ color: rgb(202, 48, 202);
/* oklch */ color: oklch(60.7% 0.246 328.1);
Tailwind
colors: {
  custom: {
    50: '#de7adb',
    500: '#ca30ca',
    950: '#000000',
  },
}
SCSS
$custom: #ca30ca;
$custom-light: #de7adb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca30ca",
  "rgb": {
    "r": 202,
    "g": 48,
    "b": 202
  },
  "hsl": {
    "h": 300,
    "s": 61.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.60692,
    "c": 0.24622,
    "h": 328.1
  },
  "luminance": 0.18935
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA30CA

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

Preview Lab → · Contrast checker → · Palette generator →

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