#A230A0#A230A0

#A230A0 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.195 H 328.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A230A0
RGBrgb(162, 48, 160)
HSLhsl(301, 54%, 41%)
HSVhsv(301, 70%, 64%)
CMYKcmyk(0%, 70.4%, 1.2%, 36.5%)
CIE-LABlab(41.74, 59.50, -36.73)
CIE-LCHlch(41.74, 69.93, 328.31°)
OKLaboklab(52.34% 0.1668 -0.1015)
OKLCHoklch(52.34% 0.195 328.7)
XYZxyz(22.3022, 12.3350, 34.4571)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A230A0 #30A232
analogous
#6B30A2 #A230A0 #A23067
triadic
#A230A0 #A0A230 #30A0A2
tetradic
#A230A0 #A26B30 #30A232 #3067A2
square
#A230A0 #A26B30 #30A232 #3067A2
split-complementary
#A230A0 #67A230 #30A26B
monochromatic
#441443 #732271 #A230A0 #C847C6 #D676D5

Accessibility & contrast

On white

6.06
#A230A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A230A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A230A0
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A230A0#FFFFFF#000000##FFFFFF
##A230A01.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2059A3
Deuteranopia (green-blind)
#4F689D
Tritanopia (blue-blind)
#A74065
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a230a0;
/* rgb */ color: rgb(162, 48, 160);
/* oklch */ color: oklch(52.3% 0.195 328.7);
Tailwind
colors: {
  custom: {
    50: '#c173bc',
    500: '#a230a0',
    950: '#000000',
  },
}
SCSS
$custom: #a230a0;
$custom-light: #c173bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a230a0",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 160
  },
  "hsl": {
    "h": 301.053,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5234,
    "c": 0.19532,
    "h": 328.7
  },
  "luminance": 0.12333
}

Semantic roles & 50–950 ramp

primary
#A230A0
secondary
#6FBE71
accent
#DE4D4A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A230A0

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

Preview Lab → · Contrast checker → · Palette generator →

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