#A855D4#A855D4

#A855D4 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.4% C 0.196 H 312.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#A855D4
RGBrgb(168, 85, 212)
HSLhsl(279, 60%, 58%)
HSVhsv(279, 60%, 83%)
CMYKcmyk(20.8%, 59.9%, 0%, 16.9%)
CIE-LABlab(51.35, 54.88, -51.76)
CIE-LCHlch(51.35, 75.44, 316.68°)
OKLaboklab(60.42% 0.1315 -0.1454)
OKLCHoklch(60.42% 0.196 312.1)
XYZxyz(31.2785, 19.5761, 64.4055)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A855D4 #81D455
analogous
#6955D4 #A855D4 #D455C0
triadic
#A855D4 #D4A855 #55D4A8
tetradic
#A855D4 #D46955 #81D455 #55C0D4
square
#A855D4 #D46955 #81D455 #55C0D4
split-complementary
#A855D4 #C0D455 #55D469
monochromatic
#67238B #8B30BC #A855D4 #C186E0 #DAB7ED

Accessibility & contrast

On white

4.27
#A855D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#A855D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A855D4
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A855D4#FFFFFF#000000##000000
##A855D41.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2776D8
Deuteranopia (green-blind)
#4C7CD1
Tritanopia (blue-blind)
#A36C8D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a855d4;
/* rgb */ color: rgb(168, 85, 212);
/* oklch */ color: oklch(60.4% 0.196 312.1);
Tailwind
colors: {
  custom: {
    50: '#c589e2',
    500: '#a855d4',
    950: '#000000',
  },
}
SCSS
$custom: #a855d4;
$custom-light: #c589e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a855d4",
  "rgb": {
    "r": 168,
    "g": 85,
    "b": 212
  },
  "hsl": {
    "h": 279.213,
    "s": 59.624,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60415,
    "c": 0.19607,
    "h": 312.1
  },
  "luminance": 0.19575
}

Semantic roles & 50–950 ramp

primary
#A855D4
secondary
#BBDCA9
accent
#E3457C
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A855D4

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

Preview Lab → · Contrast checker → · Palette generator →

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