#A158BC#A158BC

#A158BC is a mid, vivid purple. Relative luminance 0.182; OKLCH L 58.6% C 0.163 H 316.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A158BC
RGBrgb(161, 88, 188)
HSLhsl(284, 43%, 54%)
HSVhsv(284, 53%, 74%)
CMYKcmyk(14.4%, 53.2%, 0%, 26.3%)
CIE-LABlab(49.72, 46.46, -40.61)
CIE-LCHlch(49.72, 61.71, 318.84°)
OKLaboklab(58.61% 0.1178 -0.1131)
OKLCHoklch(58.61% 0.163 316.2)
XYZxyz(27.2634, 18.1882, 49.6417)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A158BC #73BC58
analogous
#6F58BC #A158BC #BC58A5
triadic
#A158BC #BCA158 #58BCA1
tetradic
#A158BC #BC6F58 #73BC58 #58A5BC
square
#A158BC #BC6F58 #73BC58 #58A5BC
split-complementary
#A158BC #A5BC58 #58BC6F
monochromatic
#5C2C6E #813E99 #A158BC #BA84CE #D2AFDF

Accessibility & contrast

On white

4.53
#A158BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#A158BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A158BC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A158BC#FFFFFF#000000##000000
##A158BC1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4272BF
Deuteranopia (green-blind)
#5978B9
Tritanopia (blue-blind)
#A06882
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a158bc;
/* rgb */ color: rgb(161, 88, 188);
/* oklch */ color: oklch(58.6% 0.163 316.2);
Tailwind
colors: {
  custom: {
    50: '#bf8ad0',
    500: '#a158bc',
    950: '#000000',
  },
}
SCSS
$custom: #a158bc;
$custom-light: #bf8ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#a158bc",
  "rgb": {
    "r": 161,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 283.8,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58605,
    "c": 0.16334,
    "h": 316.2
  },
  "luminance": 0.18187
}

Semantic roles & 50–950 ramp

primary
#A158BC
secondary
#AECDA3
accent
#D35577
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A158BC

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

Preview Lab → · Contrast checker → · Palette generator →

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