#A158BE#A158BE

#A158BE is a mid, vivid purple. Relative luminance 0.183; OKLCH L 58.7% C 0.165 H 315.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A158BE
RGBrgb(161, 88, 190)
HSLhsl(283, 44%, 55%)
HSVhsv(283, 54%, 75%)
CMYKcmyk(15.3%, 53.7%, 0%, 25.5%)
CIE-LABlab(49.83, 46.88, -41.61)
CIE-LCHlch(49.83, 62.68, 318.41°)
OKLaboklab(58.72% 0.118 -0.116)
OKLCHoklch(58.72% 0.165 315.5)
XYZxyz(27.4805, 18.2751, 50.7851)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A158BE #75BE58
analogous
#6E58BE #A158BE #BE58A8
triadic
#A158BE #BEA158 #58BEA1
tetradic
#A158BE #BE6E58 #75BE58 #58A8BE
square
#A158BE #BE6E58 #75BE58 #58A8BE
split-complementary
#A158BE #A8BE58 #58BE6E
monochromatic
#5D2C70 #813D9C #A158BE #BA84CF #D3B0E0

Accessibility & contrast

On white

4.51
#A158BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#A158BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A158BE
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A158BE#FFFFFF#000000##000000
##A158BE1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4072C1
Deuteranopia (green-blind)
#5879BB
Tritanopia (blue-blind)
#9F6883
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a158be;
/* rgb */ color: rgb(161, 88, 190);
/* oklch */ color: oklch(58.7% 0.165 315.5);
Tailwind
colors: {
  custom: {
    50: '#bf8ad2',
    500: '#a158be',
    950: '#000000',
  },
}
SCSS
$custom: #a158be;
$custom-light: #bf8ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#a158be",
  "rgb": {
    "r": 161,
    "g": 88,
    "b": 190
  },
  "hsl": {
    "h": 282.941,
    "s": 43.966,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58716,
    "c": 0.16548,
    "h": 315.5
  },
  "luminance": 0.18274
}

Semantic roles & 50–950 ramp

primary
#A158BE
secondary
#B0CEA3
accent
#D45478
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A158BE

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

Preview Lab → · Contrast checker → · Palette generator →

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