#CA30C8#CA30C8

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

Color values

HEX#CA30C8
RGBrgb(202, 48, 200)
HSLhsl(301, 62%, 49%)
HSVhsv(301, 76%, 79%)
CMYKcmyk(0%, 76.2%, 1%, 20.8%)
CIE-LABlab(50.50, 74.57, -45.94)
CIE-LCHlch(50.50, 87.59, 328.36°)
OKLaboklab(60.58% 0.2091 -0.1273)
OKLCHoklch(60.58% 0.245 328.7)
XYZxyz(35.8391, 18.8433, 56.3819)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA30C8 #30CA32
analogous
#7F30CA #CA30C8 #CA307B
triadic
#CA30C8 #C8CA30 #30C8CA
tetradic
#CA30C8 #CA7F30 #30CA32 #307BCA
square
#CA30C8 #CA7F30 #30CA32 #307BCA
split-complementary
#CA30C8 #7BCA30 #30CA7F
monochromatic
#671866 #992497 #CA30C8 #D95ED7 #E590E3

Accessibility & contrast

On white

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

On black

4.77
#CA30C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA30C8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA30C8#FFFFFF#000000##000000
##CA30C81.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#096BCC
Deuteranopia (green-blind)
#5E7FC4
Tritanopia (blue-blind)
#D1497B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca30c8;
/* rgb */ color: rgb(202, 48, 200);
/* oklch */ color: oklch(60.6% 0.245 328.7);
Tailwind
colors: {
  custom: {
    50: '#de7ad9',
    500: '#ca30c8',
    950: '#000000',
  },
}
SCSS
$custom: #ca30c8;
$custom-light: #de7ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca30c8",
  "rgb": {
    "r": 202,
    "g": 48,
    "b": 200
  },
  "hsl": {
    "h": 300.779,
    "s": 61.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.60578,
    "c": 0.24477,
    "h": 328.7
  },
  "luminance": 0.18841
}

Semantic roles & 50–950 ramp

primary
#CA30C8
secondary
#87CF88
accent
#E54543
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160A15
muted
#847C83

Preview Lab

Preview with #CA30C8

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

Preview Lab → · Contrast checker → · Palette generator →

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