#A158AA#A158AA

#A158AA is a mid, vivid purple. Relative luminance 0.175; OKLCH L 57.7% C 0.145 H 323.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A158AA
RGBrgb(161, 88, 170)
HSLhsl(293, 33%, 51%)
HSVhsv(293, 48%, 67%)
CMYKcmyk(5.3%, 48.2%, 0%, 33.3%)
CIE-LABlab(48.83, 42.78, -31.52)
CIE-LCHlch(48.83, 53.14, 323.62°)
OKLaboklab(57.66% 0.1155 -0.0868)
OKLCHoklch(57.66% 0.145 323.1)
XYZxyz(25.4426, 17.4599, 40.0523)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A158AA #61AA58
analogous
#7858AA #A158AA #AA588A
triadic
#A158AA #AAA158 #58AAA1
tetradic
#A158AA #AA7858 #61AA58 #588AAA
square
#A158AA #AA7858 #61AA58 #588AAA
split-complementary
#A158AA #8AAA58 #58AA78
monochromatic
#552E5A #7B4282 #A158AA #B881BF #CFA9D3

Accessibility & contrast

On white

4.68
#A158AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#A158AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A158AA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A158AA#FFFFFF#000000##FFFFFF
##A158AA1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6EAD
Deuteranopia (green-blind)
#6277A8
Tritanopia (blue-blind)
#A36279
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a158aa;
/* rgb */ color: rgb(161, 88, 170);
/* oklch */ color: oklch(57.7% 0.145 323.1);
Tailwind
colors: {
  custom: {
    50: '#bf8ac3',
    500: '#a158aa',
    950: '#000000',
  },
}
SCSS
$custom: #a158aa;
$custom-light: #bf8ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#a158aa",
  "rgb": {
    "r": 161,
    "g": 88,
    "b": 170
  },
  "hsl": {
    "h": 293.415,
    "s": 32.54,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57658,
    "c": 0.14452,
    "h": 323.1
  },
  "luminance": 0.17459
}

Semantic roles & 50–950 ramp

primary
#A158AA
secondary
#A1C19D
accent
#C95F6B
background
#FBF8FC
surface
#F7F0F8
border
#D0CBD1
text
#120C12
muted
#817D81

Preview Lab

Preview with #A158AA

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

Preview Lab → · Contrast checker → · Palette generator →

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