#A158CD#A158CD

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

Color values

HEX#A158CD
RGBrgb(161, 88, 205)
HSLhsl(277, 54%, 57%)
HSVhsv(277, 57%, 80%)
CMYKcmyk(21.5%, 57.1%, 0%, 19.6%)
CIE-LABlab(50.65, 50.13, -48.94)
CIE-LCHlch(50.65, 70.06, 315.69°)
OKLaboklab(59.58% 0.1189 -0.1374)
OKLCHoklch(59.58% 0.182 310.9)
XYZxyz(29.2051, 18.9649, 59.8679)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A158CD #84CD58
analogous
#6758CD #A158CD #CD58BE
triadic
#A158CD #CDA158 #58CDA1
tetradic
#A158CD #CD6758 #84CD58 #58BECD
square
#A158CD #CD6758 #84CD58 #58BECD
split-complementary
#A158CD #BECD58 #58CD67
monochromatic
#612783 #8335B2 #A158CD #BC87DB #D6B6E9

Accessibility & contrast

On white

4.38
#A158CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#A158CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A158CD
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A158CD#FFFFFF#000000##000000
##A158CD1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3275D1
Deuteranopia (green-blind)
#4E7ACA
Tritanopia (blue-blind)
#9C6D8A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a158cd;
/* rgb */ color: rgb(161, 88, 205);
/* oklch */ color: oklch(59.6% 0.182 310.9);
Tailwind
colors: {
  custom: {
    50: '#c08add',
    500: '#a158cd',
    950: '#000000',
  },
}
SCSS
$custom: #a158cd;
$custom-light: #c08add;
$custom-dark: #000000;
JSON
{
  "hex": "#a158cd",
  "rgb": {
    "r": 161,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 277.436,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59581,
    "c": 0.1817,
    "h": 310.9
  },
  "luminance": 0.18964
}

Semantic roles & 50–950 ramp

primary
#A158CD
secondary
#BBD8A9
accent
#DD4B82
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A158CD

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

Preview Lab → · Contrast checker → · Palette generator →

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