#A231B8#A231B8

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

Color values

HEX#A231B8
RGBrgb(162, 49, 184)
HSLhsl(290, 58%, 46%)
HSVhsv(290, 73%, 72%)
CMYKcmyk(12%, 73.4%, 0%, 27.8%)
CIE-LABlab(43.27, 63.38, -48.54)
CIE-LCHlch(43.27, 79.83, 322.55°)
OKLaboklab(53.88% 0.1652 -0.136)
OKLCHoklch(53.88% 0.214 320.5)
XYZxyz(24.6493, 13.3400, 46.6146)
Luminance0.1334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A231B8 #47B831
analogous
#5E31B8 #A231B8 #B8318A
triadic
#A231B8 #B8A231 #31B8A2
tetradic
#A231B8 #B85E31 #47B831 #318AB8
square
#A231B8 #B85E31 #47B831 #318AB8
split-complementary
#A231B8 #8AB831 #31B85E
monochromatic
#4D1757 #772488 #A231B8 #BD55D2 #D085DE

Accessibility & contrast

On white

5.73
#A231B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A231B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A231B8
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A231B8#FFFFFF#000000##FFFFFF
##A231B81.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a231b8;
/* rgb */ color: rgb(162, 49, 184);
/* oklch */ color: oklch(53.9% 0.214 320.5);
Tailwind
colors: {
  custom: {
    50: '#c174ce',
    500: '#a231b8',
    950: '#000000',
  },
}
SCSS
$custom: #a231b8;
$custom-light: #c174ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a231b8",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 290.222,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53884,
    "c": 0.21396,
    "h": 320.5
  },
  "luminance": 0.13339
}

Semantic roles & 50–950 ramp

primary
#A231B8
secondary
#89C87D
accent
#E14760
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A231B8

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

Preview Lab → · Contrast checker → · Palette generator →

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