#A158DE#A158DE

#A158DE is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.6% C 0.200 H 306.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A158DE
RGBrgb(161, 88, 222)
HSLhsl(273, 67%, 61%)
HSVhsv(273, 60%, 87%)
CMYKcmyk(27.5%, 60.4%, 0%, 12.9%)
CIE-LABlab(51.65, 53.96, -57.02)
CIE-LCHlch(51.65, 78.51, 313.42°)
OKLaboklab(60.63% 0.119 -0.1611)
OKLCHoklch(60.63% 0.2 306.4)
XYZxyz(31.3697, 19.8307, 71.2682)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A158DE #95DE58
analogous
#5E58DE #A158DE #DE58D8
triadic
#A158DE #DEA158 #58DEA1
tetradic
#A158DE #DE5E58 #95DE58 #58D8DE
square
#A158DE #DE5E58 #95DE58 #58D8DE
split-complementary
#A158DE #D8DE58 #58DE5E
monochromatic
#631F9D #8429D0 #A158DE #BE8BE8 #DBBEF2

Accessibility & contrast

On white

4.23
#A158DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#A158DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A158DE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A158DE#FFFFFF#000000##000000
##A158DE1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1579E2
Deuteranopia (green-blind)
#3E7CDB
Tritanopia (blue-blind)
#977393
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a158de;
/* rgb */ color: rgb(161, 88, 222);
/* oklch */ color: oklch(60.6% 0.200 306.4);
Tailwind
colors: {
  custom: {
    50: '#c18be9',
    500: '#a158de',
    950: '#000000',
  },
}
SCSS
$custom: #a158de;
$custom-light: #c18be9;
$custom-dark: #000000;
JSON
{
  "hex": "#a158de",
  "rgb": {
    "r": 161,
    "g": 88,
    "b": 222
  },
  "hsl": {
    "h": 272.687,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60632,
    "c": 0.20024,
    "h": 306.4
  },
  "luminance": 0.1983
}

Semantic roles & 50–950 ramp

primary
#A158DE
secondary
#C7E2B0
accent
#CF176A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A158DE

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

Preview Lab → · Contrast checker → · Palette generator →

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