#A158AF#A158AF

#A158AF is a mid, vivid purple. Relative luminance 0.177; OKLCH L 57.9% C 0.150 H 321.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A158AF
RGBrgb(161, 88, 175)
HSLhsl(290, 35%, 52%)
HSVhsv(290, 50%, 69%)
CMYKcmyk(8%, 49.7%, 0%, 31.4%)
CIE-LABlab(49.07, 43.78, -34.07)
CIE-LCHlch(49.07, 55.48, 322.10°)
OKLaboklab(57.91% 0.1163 -0.0942)
OKLCHoklch(57.91% 0.15 321)
XYZxyz(25.9246, 17.6527, 42.5909)
Luminance0.1765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A158AF #66AF58
analogous
#7658AF #A158AF #AF5892
triadic
#A158AF #AFA158 #58AFA1
tetradic
#A158AF #AF7658 #66AF58 #5892AF
square
#A158AF #AF7658 #66AF58 #5892AF
split-complementary
#A158AF #92AF58 #58AF76
monochromatic
#572E5F #7D4188 #A158AF #B881C3 #D0ABD7

Accessibility & contrast

On white

4.64
#A158AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#A158AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A158AF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A158AF#FFFFFF#000000##FFFFFF
##A158AF1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6FB2
Deuteranopia (green-blind)
#6077AD
Tritanopia (blue-blind)
#A2647B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a158af;
/* rgb */ color: rgb(161, 88, 175);
/* oklch */ color: oklch(57.9% 0.150 321.0);
Tailwind
colors: {
  custom: {
    50: '#bf8ac7',
    500: '#a158af',
    950: '#000000',
  },
}
SCSS
$custom: #a158af;
$custom-light: #bf8ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#a158af",
  "rgb": {
    "r": 161,
    "g": 88,
    "b": 175
  },
  "hsl": {
    "h": 290.345,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57912,
    "c": 0.14966,
    "h": 321
  },
  "luminance": 0.17652
}

Semantic roles & 50–950 ramp

primary
#A158AF
secondary
#A4C59E
accent
#CB5D6E
background
#FBF8FC
surface
#F7F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #A158AF

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

Preview Lab → · Contrast checker → · Palette generator →

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