#A230AB#A230AB

#A230AB is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.204 H 324.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#A230AB
RGBrgb(162, 48, 171)
HSLhsl(296, 56%, 43%)
HSVhsv(296, 72%, 67%)
CMYKcmyk(5.3%, 71.9%, 0%, 32.9%)
CIE-LABlab(42.36, 61.39, -42.31)
CIE-LCHlch(42.36, 74.56, 325.42°)
OKLaboklab(52.99% 0.1668 -0.1178)
OKLCHoklch(52.99% 0.204 324.8)
XYZxyz(23.3074, 12.7370, 39.7510)
Luminance0.1274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A230AB #39AB30
analogous
#6530AB #A230AB #AB3076
triadic
#A230AB #ABA230 #30ABA2
tetradic
#A230AB #AB6530 #39AB30 #3076AB
square
#A230AB #AB6530 #39AB30 #3076AB
split-complementary
#A230AB #76AB30 #30AB65
monochromatic
#47154B #75237B #A230AB #C34CCD #D37BDA

Accessibility & contrast

On white

5.92
#A230AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A230AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A230AB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A230AB#FFFFFF#000000##FFFFFF
##A230AB1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095BAE
Deuteranopia (green-blind)
#4869A8
Tritanopia (blue-blind)
#A5456B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a230ab;
/* rgb */ color: rgb(162, 48, 171);
/* oklch */ color: oklch(53.0% 0.204 324.8);
Tailwind
colors: {
  custom: {
    50: '#c174c4',
    500: '#a230ab',
    950: '#000000',
  },
}
SCSS
$custom: #a230ab;
$custom-light: #c174c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a230ab",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 295.61,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52986,
    "c": 0.20421,
    "h": 324.8
  },
  "luminance": 0.12736
}

Semantic roles & 50–950 ramp

primary
#A230AB
secondary
#7AC374
accent
#DF4853
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A230AB

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

Preview Lab → · Contrast checker → · Palette generator →

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