#A231B9#A231B9

#A231B9 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.9% C 0.215 H 320.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#A231B9
RGBrgb(162, 49, 185)
HSLhsl(290, 58%, 46%)
HSVhsv(290, 74%, 73%)
CMYKcmyk(12.4%, 73.5%, 0%, 27.5%)
CIE-LABlab(43.33, 63.56, -49.03)
CIE-LCHlch(43.33, 80.27, 322.35°)
OKLaboklab(53.95% 0.1651 -0.1374)
OKLCHoklch(53.95% 0.215 320.2)
XYZxyz(24.7545, 13.3821, 47.1686)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A231B9 #48B931
analogous
#5E31B9 #A231B9 #B9318C
triadic
#A231B9 #B9A231 #31B9A2
tetradic
#A231B9 #B95E31 #48B931 #318CB9
square
#A231B9 #B95E31 #48B931 #318CB9
split-complementary
#A231B9 #8CB931 #31B95E
monochromatic
#4D1758 #782489 #A231B9 #BD55D2 #D086DF

Accessibility & contrast

On white

5.71
#A231B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#A231B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A231B9
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A231B9#FFFFFF#000000##FFFFFF
##A231B91.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a231b9;
/* rgb */ color: rgb(162, 49, 185);
/* oklch */ color: oklch(53.9% 0.215 320.2);
Tailwind
colors: {
  custom: {
    50: '#c175cf',
    500: '#a231b9',
    950: '#000000',
  },
}
SCSS
$custom: #a231b9;
$custom-light: #c175cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a231b9",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 289.853,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53948,
    "c": 0.2148,
    "h": 320.2
  },
  "luminance": 0.13381
}

Semantic roles & 50–950 ramp

primary
#A231B9
secondary
#8AC87D
accent
#E14661
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A231B9

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

Preview Lab → · Contrast checker → · Palette generator →

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