#A830A2#A830A2

#A830A2 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.200 H 330.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#A830A2
RGBrgb(168, 48, 162)
HSLhsl(303, 56%, 42%)
HSVhsv(303, 71%, 66%)
CMYKcmyk(0%, 71.4%, 3.6%, 34.1%)
CIE-LABlab(42.84, 61.22, -36.14)
CIE-LCHlch(42.84, 71.09, 329.45°)
OKLaboklab(53.35% 0.1734 -0.0997)
OKLCHoklch(53.35% 0.2 330.1)
XYZxyz(23.7269, 13.0492, 35.4445)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A830A2 #30A836
analogous
#7230A8 #A830A2 #A83066
triadic
#A830A2 #A2A830 #30A2A8
tetradic
#A830A2 #A87230 #30A836 #3066A8
square
#A830A2 #A87230 #30A836 #3066A8
split-complementary
#A830A2 #66A830 #30A872
monochromatic
#491546 #782274 #A830A2 #CB4AC5 #D97AD4

Accessibility & contrast

On white

5.82
#A830A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A830A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A830A2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A830A2#FFFFFF#000000##FFFFFF
##A830A21.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235BA5
Deuteranopia (green-blind)
#536B9F
Tritanopia (blue-blind)
#AE3F66
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a830a2;
/* rgb */ color: rgb(168, 48, 162);
/* oklch */ color: oklch(53.4% 0.200 330.1);
Tailwind
colors: {
  custom: {
    50: '#c574be',
    500: '#a830a2',
    950: '#000000',
  },
}
SCSS
$custom: #a830a2;
$custom-light: #c574be;
$custom-dark: #000000;
JSON
{
  "hex": "#a830a2",
  "rgb": {
    "r": 168,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 303,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53352,
    "c": 0.2,
    "h": 330.1
  },
  "luminance": 0.13047
}

Semantic roles & 50–950 ramp

primary
#A830A2
secondary
#73C177
accent
#DF5049
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A830A2

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

Preview Lab → · Contrast checker → · Palette generator →

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