#A155EB#A155EB

#A155EB is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.1% C 0.218 H 303.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#A155EB
RGBrgb(161, 85, 235)
HSLhsl(270, 79%, 63%)
HSVhsv(270, 64%, 92%)
CMYKcmyk(31.5%, 63.8%, 0%, 7.8%)
CIE-LABlab(51.92, 58.45, -63.91)
CIE-LCHlch(51.92, 86.61, 312.44°)
OKLaboklab(61.09% 0.1217 -0.1813)
OKLCHoklch(61.09% 0.218 303.9)
XYZxyz(32.9384, 20.0723, 80.7202)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A155EB #9FEB55
analogous
#5655EB #A155EB #EB55EA
triadic
#A155EB #EBA155 #55EBA1
tetradic
#A155EB #EB5655 #9FEB55 #55EAEB
square
#A155EB #EB5655 #9FEB55 #55EAEB
split-complementary
#A155EB #EAEB55 #55EB56
monochromatic
#6415B1 #831EE5 #A155EB #BF8CF1 #DEC3F8

Accessibility & contrast

On white

4.19
#A155EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#A155EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A155EB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A155EB#FFFFFF#000000##000000
##A155EB1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#267CE8
Tritanopia (blue-blind)
#937599
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a155eb;
/* rgb */ color: rgb(161, 85, 235);
/* oklch */ color: oklch(61.1% 0.218 303.9);
Tailwind
colors: {
  custom: {
    50: '#c289f2',
    500: '#a155eb',
    950: '#000000',
  },
}
SCSS
$custom: #a155eb;
$custom-light: #c289f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a155eb",
  "rgb": {
    "r": 161,
    "g": 85,
    "b": 235
  },
  "hsl": {
    "h": 270.4,
    "s": 78.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61092,
    "c": 0.21837,
    "h": 303.9
  },
  "luminance": 0.20072
}

Semantic roles & 50–950 ramp

primary
#A155EB
secondary
#CEE9B3
accent
#DB0A71
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A155EB

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

Preview Lab → · Contrast checker → · Palette generator →

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