#A85EC2#A85EC2

#A85EC2 is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.6% C 0.163 H 316.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A85EC2
RGBrgb(168, 94, 194)
HSLhsl(284, 45%, 56%)
HSVhsv(284, 52%, 76%)
CMYKcmyk(13.4%, 51.5%, 0%, 23.9%)
CIE-LABlab(52.09, 46.51, -40.28)
CIE-LCHlch(52.09, 61.52, 319.10°)
OKLaboklab(60.64% 0.1187 -0.112)
OKLCHoklch(60.64% 0.163 316.7)
XYZxyz(29.8873, 20.2263, 53.3582)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A85EC2 #78C25E
analogous
#765EC2 #A85EC2 #C25EAA
triadic
#A85EC2 #C2A85E #5EC2A8
tetradic
#A85EC2 #C2765E #78C25E #5EAAC2
square
#A85EC2 #C2765E #78C25E #5EAAC2
split-complementary
#A85EC2 #AAC25E #5EC276
monochromatic
#652E78 #8A3EA4 #A85EC2 #C08AD3 #D8B7E4

Accessibility & contrast

On white

4.16
#A85EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#A85EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A85EC2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A85EC2#FFFFFF#000000##000000
##A85EC21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4978C5
Deuteranopia (green-blind)
#607FBF
Tritanopia (blue-blind)
#A76D87
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a85ec2;
/* rgb */ color: rgb(168, 94, 194);
/* oklch */ color: oklch(60.6% 0.163 316.7);
Tailwind
colors: {
  custom: {
    50: '#c48ed5',
    500: '#a85ec2',
    950: '#000000',
  },
}
SCSS
$custom: #a85ec2;
$custom-light: #c48ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#a85ec2",
  "rgb": {
    "r": 168,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 284.4,
    "s": 45.045,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6064,
    "c": 0.16324,
    "h": 316.7
  },
  "luminance": 0.20225
}

Semantic roles & 50–950 ramp

primary
#A85EC2
secondary
#B4D2A9
accent
#D55375
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #A85EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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