#A231B1#A231B1

#A231B1 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.4% C 0.208 H 322.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#A231B1
RGBrgb(162, 49, 177)
HSLhsl(293, 57%, 44%)
HSVhsv(293, 72%, 69%)
CMYKcmyk(8.5%, 72.3%, 0%, 30.6%)
CIE-LABlab(42.84, 62.10, -45.10)
CIE-LCHlch(42.84, 76.75, 324.01°)
OKLaboklab(53.44% 0.1656 -0.1259)
OKLCHoklch(53.44% 0.208 322.8)
XYZxyz(23.9336, 13.0537, 42.8454)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A231B1 #40B131
analogous
#6231B1 #A231B1 #B13180
triadic
#A231B1 #B1A231 #31B1A2
tetradic
#A231B1 #B16231 #40B131 #3180B1
square
#A231B1 #B16231 #40B131 #3180B1
split-complementary
#A231B1 #80B131 #31B162
monochromatic
#4A1651 #762481 #A231B1 #C051CF #D180DC

Accessibility & contrast

On white

5.82
#A231B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A231B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A231B1
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A231B1#FFFFFF#000000##FFFFFF
##A231B11.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#456AAE
Tritanopia (blue-blind)
#A4486E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a231b1;
/* rgb */ color: rgb(162, 49, 177);
/* oklch */ color: oklch(53.4% 0.208 322.8);
Tailwind
colors: {
  custom: {
    50: '#c174c9',
    500: '#a231b1',
    950: '#000000',
  },
}
SCSS
$custom: #a231b1;
$custom-light: #c174c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a231b1",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 177
  },
  "hsl": {
    "h": 292.969,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53442,
    "c": 0.20806,
    "h": 322.8
  },
  "luminance": 0.13052
}

Semantic roles & 50–950 ramp

primary
#A231B1
secondary
#82C579
accent
#E0485A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A231B1

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

Preview Lab → · Contrast checker → · Palette generator →

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