#A158FF#A158FF

#A158FF is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.9% C 0.236 H 299.6°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#A158FF
RGBrgb(161, 88, 255)
HSLhsl(266, 100%, 67%)
HSVhsv(266, 65%, 100%)
CMYKcmyk(36.9%, 65.5%, 0%, 0%)
CIE-LABlab(53.79, 61.73, -72.04)
CIE-LCHlch(53.79, 94.87, 310.59°)
OKLaboklab(62.86% 0.1166 -0.2052)
OKLCHoklch(62.86% 0.236 299.6)
XYZxyz(36.2332, 21.7761, 96.8826)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A158FF #B6FF58
analogous
#5862FF #A158FF #F558FF
triadic
#A158FF #FFA158 #58FFA1
tetradic
#A158FF #FF5862 #B6FF58 #58FFF5
square
#A158FF #FF5862 #B6FF58 #58FFF5
split-complementary
#A158FF #FFF558 #62FF58
monochromatic
#6000DD #7F1BFF #A158FF #C395FF #E6D2FF

Accessibility & contrast

On white

3.92
#A158FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#A158FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A158FF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A158FF#FFFFFF#000000##000000
##A158FF1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#007FFB
Tritanopia (blue-blind)
#8C7FA4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a158ff;
/* rgb */ color: rgb(161, 88, 255);
/* oklch */ color: oklch(62.9% 0.236 299.6);
Tailwind
colors: {
  custom: {
    50: '#c38bff',
    500: '#a158ff',
    950: '#000000',
  },
}
SCSS
$custom: #a158ff;
$custom-light: #c38bff;
$custom-dark: #000000;
JSON
{
  "hex": "#a158ff",
  "rgb": {
    "r": 161,
    "g": 88,
    "b": 255
  },
  "hsl": {
    "h": 266.228,
    "s": 100,
    "l": 67.255
  },
  "oklch": {
    "l": 0.62862,
    "c": 0.23603,
    "h": 299.6
  },
  "luminance": 0.21777
}

Semantic roles & 50–950 ramp

primary
#A158FF
secondary
#DDF4BF
accent
#E60081
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #A158FF

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

Preview Lab → · Contrast checker → · Palette generator →

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