#A230B4#A230B4

#A230B4 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.5% C 0.212 H 321.8°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#A230B4
RGBrgb(162, 48, 180)
HSLhsl(292, 58%, 45%)
HSVhsv(292, 73%, 71%)
CMYKcmyk(10%, 73.3%, 0%, 29.4%)
CIE-LABlab(42.90, 63.00, -46.78)
CIE-LCHlch(42.90, 78.47, 323.40°)
OKLaboklab(53.54% 0.1664 -0.1308)
OKLCHoklch(53.54% 0.212 321.8)
XYZxyz(24.1946, 13.0919, 44.4238)
Luminance0.1309 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A230B4 #42B430
analogous
#6030B4 #A230B4 #B43084
triadic
#A230B4 #B4A230 #30B4A2
tetradic
#A230B4 #B46030 #42B430 #3084B4
square
#A230B4 #B46030 #42B430 #3084B4
split-complementary
#A230B4 #84B430 #30B460
monochromatic
#4B1653 #772384 #A230B4 #BF51D1 #D181DD

Accessibility & contrast

On white

5.80
#A230B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#A230B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A230B4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A230B4#FFFFFF#000000##FFFFFF
##A230B41.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB8
Deuteranopia (green-blind)
#426AB1
Tritanopia (blue-blind)
#A44970
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a230b4;
/* rgb */ color: rgb(162, 48, 180);
/* oklch */ color: oklch(53.5% 0.212 321.8);
Tailwind
colors: {
  custom: {
    50: '#c174cb',
    500: '#a230b4',
    950: '#000000',
  },
}
SCSS
$custom: #a230b4;
$custom-light: #c174cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a230b4",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 291.818,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53541,
    "c": 0.21168,
    "h": 321.8
  },
  "luminance": 0.13091
}

Semantic roles & 50–950 ramp

primary
#A230B4
secondary
#84C679
accent
#E1475C
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A230B4

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

Preview Lab → · Contrast checker → · Palette generator →

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