#A155E5#A155E5

#A155E5 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.7% C 0.212 H 305.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A155E5
RGBrgb(161, 85, 229)
HSLhsl(272, 73%, 62%)
HSVhsv(272, 63%, 90%)
CMYKcmyk(29.7%, 62.9%, 0%, 10.2%)
CIE-LABlab(51.53, 57.06, -61.16)
CIE-LCHlch(51.53, 83.64, 313.02°)
OKLaboklab(60.69% 0.1222 -0.1732)
OKLCHoklch(60.69% 0.212 305.2)
XYZxyz(32.0862, 19.7314, 76.2317)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A155E5 #99E555
analogous
#5955E5 #A155E5 #E555E1
triadic
#A155E5 #E5A155 #55E5A1
tetradic
#A155E5 #E55955 #99E555 #55E1E5
square
#A155E5 #E55955 #99E555 #55E1E5
split-complementary
#A155E5 #E1E555 #55E559
monochromatic
#6419A6 #8422DB #A155E5 #BE8AED #DCBFF5

Accessibility & contrast

On white

4.25
#A155E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#A155E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A155E5
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A155E5#FFFFFF#000000##000000
##A155E51.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#317BE2
Tritanopia (blue-blind)
#957395
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a155e5;
/* rgb */ color: rgb(161, 85, 229);
/* oklch */ color: oklch(60.7% 0.212 305.2);
Tailwind
colors: {
  custom: {
    50: '#c189ee',
    500: '#a155e5',
    950: '#000000',
  },
}
SCSS
$custom: #a155e5;
$custom-light: #c189ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a155e5",
  "rgb": {
    "r": 161,
    "g": 85,
    "b": 229
  },
  "hsl": {
    "h": 271.667,
    "s": 73.469,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60689,
    "c": 0.21195,
    "h": 305.2
  },
  "luminance": 0.19731
}

Semantic roles & 50–950 ramp

primary
#A155E5
secondary
#C9E6B0
accent
#D6106D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A155E5

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

Preview Lab → · Contrast checker → · Palette generator →

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