#CA30E2#CA30E2

#CA30E2 is a light, highly saturated purple. Relative luminance 0.202; OKLCH L 62.1% C 0.264 H 321.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CA30E2
RGBrgb(202, 48, 226)
HSLhsl(292, 75%, 54%)
HSVhsv(292, 79%, 89%)
CMYKcmyk(10.6%, 78.8%, 0%, 11.4%)
CIE-LABlab(52.02, 78.79, -58.38)
CIE-LCHlch(52.02, 98.06, 323.47°)
OKLaboklab(62.14% 0.2073 -0.1636)
OKLCHoklch(62.14% 0.264 321.7)
XYZxyz(39.1400, 20.1637, 73.7671)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA30E2 #48E230
analogous
#7130E2 #CA30E2 #E230A1
triadic
#CA30E2 #E2CA30 #30E2CA
tetradic
#CA30E2 #E27130 #48E230 #30A1E2
square
#CA30E2 #E27130 #48E230 #30A1E2
split-complementary
#CA30E2 #A1E230 #30E271
monochromatic
#761385 #A51ABB #CA30E2 #D866EA #E59BF1

Accessibility & contrast

On white

4.17
#CA30E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CA30E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA30E2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA30E2#FFFFFF#000000##000000
##CA30E21.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#4A81DE
Tritanopia (blue-blind)
#CC568A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca30e2;
/* rgb */ color: rgb(202, 48, 226);
/* oklch */ color: oklch(62.1% 0.264 321.7);
Tailwind
colors: {
  custom: {
    50: '#df7bec',
    500: '#ca30e2',
    950: '#000000',
  },
}
SCSS
$custom: #ca30e2;
$custom-light: #df7bec;
$custom-dark: #000000;
JSON
{
  "hex": "#ca30e2",
  "rgb": {
    "r": 202,
    "g": 48,
    "b": 226
  },
  "hsl": {
    "h": 291.91,
    "s": 75.424,
    "l": 53.725
  },
  "oklch": {
    "l": 0.62141,
    "c": 0.26407,
    "h": 321.7
  },
  "luminance": 0.20161
}

Semantic roles & 50–950 ramp

primary
#CA30E2
secondary
#9BDD91
accent
#F2364F
background
#FEF8FE
surface
#FCEFFD
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #CA30E2

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

Preview Lab → · Contrast checker → · Palette generator →

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