#A230B9#A230B9

#A230B9 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.216 H 320.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#A230B9
RGBrgb(162, 48, 185)
HSLhsl(290, 59%, 46%)
HSVhsv(290, 74%, 73%)
CMYKcmyk(12.4%, 74.1%, 0%, 27.5%)
CIE-LABlab(43.21, 63.91, -49.23)
CIE-LCHlch(43.21, 80.67, 322.39°)
OKLaboklab(53.86% 0.166 -0.138)
OKLCHoklch(53.86% 0.216 320.3)
XYZxyz(24.7131, 13.2993, 47.1548)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A230B9 #47B930
analogous
#5D30B9 #A230B9 #B9308B
triadic
#A230B9 #B9A230 #30B9A2
tetradic
#A230B9 #B95D30 #47B930 #308BB9
square
#A230B9 #B95D30 #47B930 #308BB9
split-complementary
#A230B9 #8BB930 #30B95D
monochromatic
#4D1758 #772388 #A230B9 #BD54D3 #D084DF

Accessibility & contrast

On white

5.74
#A230B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#A230B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A230B9
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A230B9#FFFFFF#000000##FFFFFF
##A230B91.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#3E6AB6
Tritanopia (blue-blind)
#A34B72
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a230b9;
/* rgb */ color: rgb(162, 48, 185);
/* oklch */ color: oklch(53.9% 0.216 320.3);
Tailwind
colors: {
  custom: {
    50: '#c174cf',
    500: '#a230b9',
    950: '#000000',
  },
}
SCSS
$custom: #a230b9;
$custom-light: #c174cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a230b9",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 185
  },
  "hsl": {
    "h": 289.927,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53861,
    "c": 0.21588,
    "h": 320.3
  },
  "luminance": 0.13298
}

Semantic roles & 50–950 ramp

primary
#A230B9
secondary
#89C97C
accent
#E24660
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A230B9

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

Preview Lab → · Contrast checker → · Palette generator →

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