#A230B2#A230B2

#A230B2 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.210 H 322.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#A230B2
RGBrgb(162, 48, 178)
HSLhsl(293, 58%, 44%)
HSVhsv(293, 73%, 70%)
CMYKcmyk(9%, 73%, 0%, 30.2%)
CIE-LABlab(42.78, 62.63, -45.80)
CIE-LCHlch(42.78, 77.59, 323.83°)
OKLaboklab(53.42% 0.1665 -0.1279)
OKLCHoklch(53.42% 0.21 322.5)
XYZxyz(23.9923, 13.0110, 43.3585)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A230B2 #40B230
analogous
#6130B2 #A230B2 #B23081
triadic
#A230B2 #B2A230 #30B2A2
tetradic
#A230B2 #B26130 #40B230 #3081B2
square
#A230B2 #B26130 #40B230 #3081B2
split-complementary
#A230B2 #81B230 #30B261
monochromatic
#4A1652 #762382 #A230B2 #C050D0 #D180DD

Accessibility & contrast

On white

5.83
#A230B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A230B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A230B2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A230B2#FFFFFF#000000##FFFFFF
##A230B21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#4369AF
Tritanopia (blue-blind)
#A4486F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a230b2;
/* rgb */ color: rgb(162, 48, 178);
/* oklch */ color: oklch(53.4% 0.210 322.5);
Tailwind
colors: {
  custom: {
    50: '#c174ca',
    500: '#a230b2',
    950: '#000000',
  },
}
SCSS
$custom: #a230b2;
$custom-light: #c174ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a230b2",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 292.615,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53416,
    "c": 0.21001,
    "h": 322.5
  },
  "luminance": 0.1301
}

Semantic roles & 50–950 ramp

primary
#A230B2
secondary
#82C678
accent
#E1475A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A230B2

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

Preview Lab → · Contrast checker → · Palette generator →

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