#A855D7#A855D7

#A855D7 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.6% C 0.199 H 311.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A855D7
RGBrgb(168, 85, 215)
HSLhsl(278, 62%, 59%)
HSVhsv(278, 60%, 84%)
CMYKcmyk(21.9%, 60.5%, 0%, 15.7%)
CIE-LABlab(51.53, 55.53, -53.19)
CIE-LCHlch(51.53, 76.89, 316.23°)
OKLaboklab(60.6% 0.1315 -0.1496)
OKLCHoklch(60.6% 0.199 311.3)
XYZxyz(31.6604, 19.7288, 66.4170)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A855D7 #84D755
analogous
#6755D7 #A855D7 #D755C5
triadic
#A855D7 #D7A855 #55D7A8
tetradic
#A855D7 #D76755 #84D755 #55C5D7
square
#A855D7 #D76755 #84D755 #55C5D7
split-complementary
#A855D7 #C5D755 #55D767
monochromatic
#682290 #8C2DC1 #A855D7 #C187E3 #DBB8EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A855D7#FFFFFF#000000##000000
##A855D71.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)
#2277DB
Deuteranopia (green-blind)
#497CD4
Tritanopia (blue-blind)
#A26D8E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a855d7;
/* rgb */ color: rgb(168, 85, 215);
/* oklch */ color: oklch(60.6% 0.199 311.3);
Tailwind
colors: {
  custom: {
    50: '#c589e4',
    500: '#a855d7',
    950: '#000000',
  },
}
SCSS
$custom: #a855d7;
$custom-light: #c589e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a855d7",
  "rgb": {
    "r": 168,
    "g": 85,
    "b": 215
  },
  "hsl": {
    "h": 278.308,
    "s": 61.905,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60598,
    "c": 0.19919,
    "h": 311.3
  },
  "luminance": 0.19728
}

Semantic roles & 50–950 ramp

primary
#A855D7
secondary
#BDDEAA
accent
#E5437D
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A855D7

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

Preview Lab → · Contrast checker → · Palette generator →

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