#A230A5#A230A5

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

Color values

HEX#A230A5
RGBrgb(162, 48, 165)
HSLhsl(298, 55%, 42%)
HSVhsv(298, 71%, 65%)
CMYKcmyk(1.8%, 70.9%, 0%, 35.3%)
CIE-LABlab(42.02, 60.35, -39.29)
CIE-LCHlch(42.02, 72.01, 326.94°)
OKLaboklab(52.63% 0.1669 -0.109)
OKLCHoklch(52.63% 0.199 326.9)
XYZxyz(22.7484, 12.5135, 36.8072)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A230A5 #33A530
analogous
#6830A5 #A230A5 #A5306D
triadic
#A230A5 #A5A230 #30A5A2
tetradic
#A230A5 #A56830 #33A530 #306DA5
square
#A230A5 #A56830 #33A530 #306DA5
split-complementary
#A230A5 #6DA530 #30A568
monochromatic
#451446 #732276 #A230A5 #C748CA #D578D8

Accessibility & contrast

On white

6.00
#A230A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A230A5
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A230A5#FFFFFF#000000##FFFFFF
##A230A51.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185AA8
Deuteranopia (green-blind)
#4C68A2
Tritanopia (blue-blind)
#A74267
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a230a5;
/* rgb */ color: rgb(162, 48, 165);
/* oklch */ color: oklch(52.6% 0.199 326.9);
Tailwind
colors: {
  custom: {
    50: '#c173c0',
    500: '#a230a5',
    950: '#000000',
  },
}
SCSS
$custom: #a230a5;
$custom-light: #c173c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a230a5",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 298.462,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52629,
    "c": 0.19933,
    "h": 326.9
  },
  "luminance": 0.12512
}

Semantic roles & 50–950 ramp

primary
#A230A5
secondary
#73C071
accent
#DE4A4D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A230A5

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

Preview Lab → · Contrast checker → · Palette generator →

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