#A158FD#A158FD

#A158FD is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.7% C 0.234 H 300.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#A158FD
RGBrgb(161, 88, 253)
HSLhsl(267, 98%, 67%)
HSVhsv(267, 65%, 99%)
CMYKcmyk(36.4%, 65.2%, 0%, 0.8%)
CIE-LABlab(53.65, 61.25, -71.15)
CIE-LCHlch(53.65, 93.88, 310.72°)
OKLaboklab(62.72% 0.1168 -0.2026)
OKLCHoklch(62.72% 0.234 300)
XYZxyz(35.9129, 21.6480, 95.1959)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A158FD #B4FD58
analogous
#5862FD #A158FD #F358FD
triadic
#A158FD #FDA158 #58FDA1
tetradic
#A158FD #FD5862 #B4FD58 #58FDF3
square
#A158FD #FD5862 #B4FD58 #58FDF3
split-complementary
#A158FD #FDF358 #62FD58
monochromatic
#6103D8 #7F1CFC #A158FD #C394FE #E5D1FE

Accessibility & contrast

On white

3.94
#A158FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#A158FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A158FD
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A158FD#FFFFFF#000000##000000
##A158FD1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#007FFA
Tritanopia (blue-blind)
#8D7EA3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a158fd;
/* rgb */ color: rgb(161, 88, 253);
/* oklch */ color: oklch(62.7% 0.234 300.0);
Tailwind
colors: {
  custom: {
    50: '#c38bff',
    500: '#a158fd',
    950: '#000000',
  },
}
SCSS
$custom: #a158fd;
$custom-light: #c38bff;
$custom-dark: #000000;
JSON
{
  "hex": "#a158fd",
  "rgb": {
    "r": 161,
    "g": 88,
    "b": 253
  },
  "hsl": {
    "h": 266.545,
    "s": 97.633,
    "l": 66.863
  },
  "oklch": {
    "l": 0.6272,
    "c": 0.23387,
    "h": 300
  },
  "luminance": 0.21648
}

Semantic roles & 50–950 ramp

primary
#A158FD
secondary
#DBF3BE
accent
#E60080
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #A158FD

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

Preview Lab → · Contrast checker → · Palette generator →

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