#A158BF#A158BF

#A158BF is a mid, vivid purple. Relative luminance 0.183; OKLCH L 58.8% C 0.167 H 315.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A158BF
RGBrgb(161, 88, 191)
HSLhsl(283, 45%, 55%)
HSVhsv(283, 54%, 75%)
CMYKcmyk(15.7%, 53.9%, 0%, 25.1%)
CIE-LABlab(49.88, 47.09, -42.10)
CIE-LCHlch(49.88, 63.17, 318.20°)
OKLaboklab(58.77% 0.1181 -0.1175)
OKLCHoklch(58.77% 0.167 315.2)
XYZxyz(27.5902, 18.3189, 51.3626)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A158BF #76BF58
analogous
#6D58BF #A158BF #BF58AA
triadic
#A158BF #BFA158 #58BFA1
tetradic
#A158BF #BF6D58 #76BF58 #58AABF
square
#A158BF #BF6D58 #76BF58 #58AABF
split-complementary
#A158BF #AABF58 #58BF6D
monochromatic
#5D2B71 #813C9D #A158BF #BA84D0 #D3B0E1

Accessibility & contrast

On white

4.50
#A158BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#A158BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A158BF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A158BF#FFFFFF#000000##000000
##A158BF1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F72C2
Deuteranopia (green-blind)
#5779BC
Tritanopia (blue-blind)
#9F6883
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a158bf;
/* rgb */ color: rgb(161, 88, 191);
/* oklch */ color: oklch(58.8% 0.167 315.2);
Tailwind
colors: {
  custom: {
    50: '#bf8ad3',
    500: '#a158bf',
    950: '#000000',
  },
}
SCSS
$custom: #a158bf;
$custom-light: #bf8ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#a158bf",
  "rgb": {
    "r": 161,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 282.524,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58772,
    "c": 0.16656,
    "h": 315.2
  },
  "luminance": 0.18318
}

Semantic roles & 50–950 ramp

primary
#A158BF
secondary
#B0CFA4
accent
#D45479
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #A158BF

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

Preview Lab → · Contrast checker → · Palette generator →

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