#A230B5#A230B5

#A230B5 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.213 H 321.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A230B5
RGBrgb(162, 48, 181)
HSLhsl(291, 58%, 45%)
HSVhsv(291, 73%, 71%)
CMYKcmyk(10.5%, 73.5%, 0%, 29%)
CIE-LABlab(42.96, 63.18, -47.27)
CIE-LCHlch(42.96, 78.91, 323.19°)
OKLaboklab(53.61% 0.1664 -0.1323)
OKLCHoklch(53.61% 0.213 321.5)
XYZxyz(24.2968, 13.1328, 44.9622)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A230B5 #43B530
analogous
#6030B5 #A230B5 #B53085
triadic
#A230B5 #B5A230 #30B5A2
tetradic
#A230B5 #B56030 #43B530 #3085B5
square
#A230B5 #B56030 #43B530 #3085B5
split-complementary
#A230B5 #85B530 #30B560
monochromatic
#4B1654 #772385 #A230B5 #BF51D1 #D182DE

Accessibility & contrast

On white

5.79
#A230B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A230B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A230B5
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A230B5#FFFFFF#000000##FFFFFF
##A230B51.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#416AB2
Tritanopia (blue-blind)
#A44970
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a230b5;
/* rgb */ color: rgb(162, 48, 181);
/* oklch */ color: oklch(53.6% 0.213 321.5);
Tailwind
colors: {
  custom: {
    50: '#c174cc',
    500: '#a230b5',
    950: '#000000',
  },
}
SCSS
$custom: #a230b5;
$custom-light: #c174cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a230b5",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 291.429,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53605,
    "c": 0.21252,
    "h": 321.5
  },
  "luminance": 0.13131
}

Semantic roles & 50–950 ramp

primary
#A230B5
secondary
#85C77A
accent
#E1465D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A230B5

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

Preview Lab → · Contrast checker → · Palette generator →

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