#A855E7#A855E7

#A855E7 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.6% C 0.216 H 307.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A855E7
RGBrgb(168, 85, 231)
HSLhsl(274, 75%, 62%)
HSVhsv(274, 63%, 91%)
CMYKcmyk(27.3%, 63.2%, 0%, 9.4%)
CIE-LABlab(52.50, 59.04, -60.68)
CIE-LCHlch(52.50, 84.67, 314.22°)
OKLaboklab(61.61% 0.131 -0.1716)
OKLCHoklch(61.61% 0.216 307.4)
XYZxyz(33.8177, 20.5918, 77.7789)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A855E7 #94E755
analogous
#5F55E7 #A855E7 #E755DD
triadic
#A855E7 #E7A855 #55E7A8
tetradic
#A855E7 #E75F55 #94E755 #55DDE7
square
#A855E7 #E75F55 #94E755 #55DDE7
split-complementary
#A855E7 #DDE755 #55E75F
monochromatic
#6B18AA #8D20DF #A855E7 #C38BEF #DFC0F6

Accessibility & contrast

On white

4.10
#A855E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#A855E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A855E7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A855E7#FFFFFF#000000##000000
##A855E71.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#387EE4
Tritanopia (blue-blind)
#9E7397
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a855e7;
/* rgb */ color: rgb(168, 85, 231);
/* oklch */ color: oklch(61.6% 0.216 307.4);
Tailwind
colors: {
  custom: {
    50: '#c68aef',
    500: '#a855e7',
    950: '#000000',
  },
}
SCSS
$custom: #a855e7;
$custom-light: #c68aef;
$custom-dark: #000000;
JSON
{
  "hex": "#a855e7",
  "rgb": {
    "r": 168,
    "g": 85,
    "b": 231
  },
  "hsl": {
    "h": 274.11,
    "s": 75.258,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61612,
    "c": 0.21587,
    "h": 307.4
  },
  "luminance": 0.20591
}

Semantic roles & 50–950 ramp

primary
#A855E7
secondary
#C8E7B1
accent
#D70E65
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A855E7

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

Preview Lab → · Contrast checker → · Palette generator →

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