#A855E2#A855E2

#A855E2 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.3% C 0.211 H 308.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A855E2
RGBrgb(168, 85, 226)
HSLhsl(275, 71%, 61%)
HSVhsv(275, 62%, 89%)
CMYKcmyk(25.7%, 62.4%, 0%, 11.4%)
CIE-LABlab(52.19, 57.93, -58.36)
CIE-LCHlch(52.19, 82.23, 314.79°)
OKLaboklab(61.29% 0.1312 -0.1648)
OKLCHoklch(61.29% 0.211 308.5)
XYZxyz(33.1217, 20.3133, 74.1128)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A855E2 #8FE255
analogous
#6155E2 #A855E2 #E255D5
triadic
#A855E2 #E2A855 #55E2A8
tetradic
#A855E2 #E26155 #8FE255 #55D5E2
square
#A855E2 #E26155 #8FE255 #55D5E2
split-complementary
#A855E2 #D5E255 #55E261
monochromatic
#6A1BA1 #8D24D5 #A855E2 #C389EB #DEBEF4

Accessibility & contrast

On white

4.15
#A855E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#A855E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A855E2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A855E2#FFFFFF#000000##000000
##A855E21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#3E7DDF
Tritanopia (blue-blind)
#9F7194
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a855e2;
/* rgb */ color: rgb(168, 85, 226);
/* oklch */ color: oklch(61.3% 0.211 308.5);
Tailwind
colors: {
  custom: {
    50: '#c689ec',
    500: '#a855e2',
    950: '#000000',
  },
}
SCSS
$custom: #a855e2;
$custom-light: #c689ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a855e2",
  "rgb": {
    "r": 168,
    "g": 85,
    "b": 226
  },
  "hsl": {
    "h": 275.319,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61289,
    "c": 0.21066,
    "h": 308.5
  },
  "luminance": 0.20313
}

Semantic roles & 50–950 ramp

primary
#A855E2
secondary
#C5E4AF
accent
#D31362
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A855E2

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

Preview Lab → · Contrast checker → · Palette generator →

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