#A230AA#A230AA

#A230AA is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 52.9% C 0.203 H 325.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A230AA
RGBrgb(162, 48, 170)
HSLhsl(296, 56%, 43%)
HSVhsv(296, 72%, 67%)
CMYKcmyk(4.7%, 71.8%, 0%, 33.3%)
CIE-LABlab(42.31, 61.21, -41.81)
CIE-LCHlch(42.31, 74.13, 325.67°)
OKLaboklab(52.93% 0.1669 -0.1163)
OKLCHoklch(52.93% 0.203 325.1)
XYZxyz(23.2124, 12.6991, 39.2510)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A230AA #38AA30
analogous
#6530AA #A230AA #AA3075
triadic
#A230AA #AAA230 #30AAA2
tetradic
#A230AA #AA6530 #38AA30 #3075AA
square
#A230AA #AA6530 #38AA30 #3075AA
split-complementary
#A230AA #75AA30 #30AA65
monochromatic
#47154B #75237A #A230AA #C44BCC #D37BDA

Accessibility & contrast

On white

5.93
#A230AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A230AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A230AA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A230AA#FFFFFF#000000##FFFFFF
##A230AA1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5BAD
Deuteranopia (green-blind)
#4969A7
Tritanopia (blue-blind)
#A6446A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a230aa;
/* rgb */ color: rgb(162, 48, 170);
/* oklch */ color: oklch(52.9% 0.203 325.1);
Tailwind
colors: {
  custom: {
    50: '#c173c4',
    500: '#a230aa',
    950: '#000000',
  },
}
SCSS
$custom: #a230aa;
$custom-light: #c173c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a230aa",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 296.066,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52925,
    "c": 0.2034,
    "h": 325.1
  },
  "luminance": 0.12698
}

Semantic roles & 50–950 ramp

primary
#A230AA
secondary
#79C274
accent
#DF4952
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A230AA

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

Preview Lab → · Contrast checker → · Palette generator →

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