#A158CE#A158CE

#A158CE is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.6% C 0.183 H 310.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A158CE
RGBrgb(161, 88, 206)
HSLhsl(277, 55%, 58%)
HSVhsv(277, 57%, 81%)
CMYKcmyk(21.8%, 57.3%, 0%, 19.2%)
CIE-LABlab(50.70, 50.35, -49.42)
CIE-LCHlch(50.70, 70.56, 315.53°)
OKLaboklab(59.64% 0.1189 -0.1388)
OKLCHoklch(59.64% 0.183 310.6)
XYZxyz(29.3262, 19.0133, 60.5056)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A158CE #85CE58
analogous
#6658CE #A158CE #CE58C0
triadic
#A158CE #CEA158 #58CEA1
tetradic
#A158CE #CE6658 #85CE58 #58C0CE
square
#A158CE #CE6658 #85CE58 #58C0CE
split-complementary
#A158CE #C0CE58 #58CE66
monochromatic
#612785 #8335B4 #A158CE #BC87DC #D6B7EA

Accessibility & contrast

On white

4.37
#A158CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#A158CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A158CE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A158CE#FFFFFF#000000##000000
##A158CE1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3175D2
Deuteranopia (green-blind)
#4D7ACB
Tritanopia (blue-blind)
#9B6D8B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a158ce;
/* rgb */ color: rgb(161, 88, 206);
/* oklch */ color: oklch(59.6% 0.183 310.6);
Tailwind
colors: {
  custom: {
    50: '#c08add',
    500: '#a158ce',
    950: '#000000',
  },
}
SCSS
$custom: #a158ce;
$custom-light: #c08add;
$custom-dark: #000000;
JSON
{
  "hex": "#a158ce",
  "rgb": {
    "r": 161,
    "g": 88,
    "b": 206
  },
  "hsl": {
    "h": 277.119,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59641,
    "c": 0.18279,
    "h": 310.6
  },
  "luminance": 0.19013
}

Semantic roles & 50–950 ramp

primary
#A158CE
secondary
#BBD9A9
accent
#DE4A82
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A158CE

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

Preview Lab → · Contrast checker → · Palette generator →

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