#A855F2#A855F2

#A855F2 is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.3% C 0.227 H 304.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A855F2
RGBrgb(168, 85, 242)
HSLhsl(272, 86%, 64%)
HSVhsv(272, 65%, 95%)
CMYKcmyk(30.6%, 64.9%, 0%, 5.1%)
CIE-LABlab(53.20, 61.52, -65.72)
CIE-LCHlch(53.20, 90.02, 313.11°)
OKLaboklab(62.34% 0.1302 -0.1864)
OKLCHoklch(62.34% 0.227 304.9)
XYZxyz(35.4204, 21.2328, 86.2195)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A855F2 #9FF255
analogous
#5A55F2 #A855F2 #F255ED
triadic
#A855F2 #F2A855 #55F2A8
tetradic
#A855F2 #F25A55 #9FF255 #55EDF2
square
#A855F2 #F25A55 #9FF255 #55EDF2
split-complementary
#A855F2 #EDF255 #55F25A
monochromatic
#6B0FBE #8B1CEE #A855F2 #C58EF6 #E2C7FB

Accessibility & contrast

On white

4.00
#A855F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#A855F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A855F2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A855F2#FFFFFF#000000##000000
##A855F21.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#267FEF
Tritanopia (blue-blind)
#9B779C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a855f2;
/* rgb */ color: rgb(168, 85, 242);
/* oklch */ color: oklch(62.3% 0.227 304.9);
Tailwind
colors: {
  custom: {
    50: '#c78af7',
    500: '#a855f2',
    950: '#000000',
  },
}
SCSS
$custom: #a855f2;
$custom-light: #c78af7;
$custom-dark: #000000;
JSON
{
  "hex": "#a855f2",
  "rgb": {
    "r": 168,
    "g": 85,
    "b": 242
  },
  "hsl": {
    "h": 271.72,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62344,
    "c": 0.22734,
    "h": 304.9
  },
  "luminance": 0.21233
}

Semantic roles & 50–950 ramp

primary
#A855F2
secondary
#D0EDB6
accent
#E2036C
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #A855F2

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

Preview Lab → · Contrast checker → · Palette generator →

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