#A230A4#A230A4

#A230A4 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.6% C 0.199 H 327.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A230A4
RGBrgb(162, 48, 164)
HSLhsl(299, 55%, 42%)
HSVhsv(299, 71%, 64%)
CMYKcmyk(1.2%, 70.7%, 0%, 35.7%)
CIE-LABlab(41.96, 60.18, -38.78)
CIE-LCHlch(41.96, 71.59, 327.20°)
OKLaboklab(52.57% 0.1669 -0.1075)
OKLCHoklch(52.57% 0.199 327.2)
XYZxyz(22.6577, 12.4772, 36.3297)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A230A4 #32A430
analogous
#6830A4 #A230A4 #A4306C
triadic
#A230A4 #A4A230 #30A4A2
tetradic
#A230A4 #A46830 #32A430 #306CA4
square
#A230A4 #A46830 #32A430 #306CA4
split-complementary
#A230A4 #6CA430 #30A468
monochromatic
#441445 #732275 #A230A4 #C748C9 #D677D7

Accessibility & contrast

On white

6.01
#A230A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A230A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A230A4
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A230A4#FFFFFF#000000##FFFFFF
##A230A41.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5AA7
Deuteranopia (green-blind)
#4D68A1
Tritanopia (blue-blind)
#A74267
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a230a4;
/* rgb */ color: rgb(162, 48, 164);
/* oklch */ color: oklch(52.6% 0.199 327.2);
Tailwind
colors: {
  custom: {
    50: '#c173bf',
    500: '#a230a4',
    950: '#000000',
  },
}
SCSS
$custom: #a230a4;
$custom-light: #c173bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a230a4",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 298.966,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52571,
    "c": 0.19852,
    "h": 327.2
  },
  "luminance": 0.12476
}

Semantic roles & 50–950 ramp

primary
#A230A4
secondary
#72BF70
accent
#DE4A4C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A230A4

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

Preview Lab → · Contrast checker → · Palette generator →

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