#A030C2#A030C2

#A030C2 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.223 H 316.9°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#A030C2
RGBrgb(160, 48, 194)
HSLhsl(286, 60%, 47%)
HSVhsv(286, 75%, 76%)
CMYKcmyk(17.5%, 75.3%, 0%, 23.9%)
CIE-LABlab(43.48, 65.20, -54.07)
CIE-LCHlch(43.48, 84.71, 320.33°)
OKLaboklab(54.18% 0.1627 -0.1522)
OKLCHoklch(54.18% 0.223 316.9)
XYZxyz(25.2903, 13.4836, 52.2989)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A030C2 #52C230
analogous
#5730C2 #A030C2 #C2309B
triadic
#A030C2 #C2A030 #30C2A0
tetradic
#A030C2 #C25730 #52C230 #309BC2
square
#A030C2 #C25730 #52C230 #309BC2
split-complementary
#A030C2 #9BC230 #30C257
monochromatic
#4F1860 #782491 #A030C2 #B959D6 #CE8AE2

Accessibility & contrast

On white

5.68
#A030C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#A030C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A030C2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A030C2#FFFFFF#000000##FFFFFF
##A030C21.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#326ABF
Tritanopia (blue-blind)
#9E5077
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a030c2;
/* rgb */ color: rgb(160, 48, 194);
/* oklch */ color: oklch(54.2% 0.223 316.9);
Tailwind
colors: {
  custom: {
    50: '#c074d5',
    500: '#a030c2',
    950: '#000000',
  },
}
SCSS
$custom: #a030c2;
$custom-light: #c074d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a030c2",
  "rgb": {
    "r": 160,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 286.027,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54177,
    "c": 0.22278,
    "h": 316.9
  },
  "luminance": 0.13483
}

Semantic roles & 50–950 ramp

primary
#A030C2
secondary
#93CC82
accent
#E34469
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A030C2

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

Preview Lab → · Contrast checker → · Palette generator →

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