#A230B1#A230B1

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

Color values

HEX#A230B1
RGBrgb(162, 48, 177)
HSLhsl(293, 57%, 44%)
HSVhsv(293, 73%, 69%)
CMYKcmyk(8.5%, 72.9%, 0%, 30.6%)
CIE-LABlab(42.72, 62.45, -45.30)
CIE-LCHlch(42.72, 77.16, 324.04°)
OKLaboklab(53.35% 0.1666 -0.1265)
OKLCHoklch(53.35% 0.209 322.8)
XYZxyz(23.8923, 12.9710, 42.8316)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A230B1 #3FB130
analogous
#6230B1 #A230B1 #B13080
triadic
#A230B1 #B1A230 #30B1A2
tetradic
#A230B1 #B16230 #3FB130 #3080B1
square
#A230B1 #B16230 #3FB130 #3080B1
split-complementary
#A230B1 #80B130 #30B162
monochromatic
#4A1651 #762381 #A230B1 #C04FCF #D17FDC

Accessibility & contrast

On white

5.84
#A230B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A230B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A230B1
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A230B1#FFFFFF#000000##FFFFFF
##A230B11.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#4469AE
Tritanopia (blue-blind)
#A4486E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a230b1;
/* rgb */ color: rgb(162, 48, 177);
/* oklch */ color: oklch(53.4% 0.209 322.8);
Tailwind
colors: {
  custom: {
    50: '#c174c9',
    500: '#a230b1',
    950: '#000000',
  },
}
SCSS
$custom: #a230b1;
$custom-light: #c174c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a230b1",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 293.023,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53353,
    "c": 0.20918,
    "h": 322.8
  },
  "luminance": 0.1297
}

Semantic roles & 50–950 ramp

primary
#A230B1
secondary
#81C578
accent
#E14759
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A230B1

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

Preview Lab → · Contrast checker → · Palette generator →

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