#A85ECB#A85ECB

#A85ECB is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.1% C 0.173 H 313.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#A85ECB
RGBrgb(168, 94, 203)
HSLhsl(281, 51%, 58%)
HSVhsv(281, 54%, 80%)
CMYKcmyk(17.2%, 53.7%, 0%, 20.4%)
CIE-LABlab(52.56, 48.41, -44.71)
CIE-LCHlch(52.56, 65.89, 317.28°)
OKLaboklab(61.13% 0.1196 -0.1249)
OKLCHoklch(61.13% 0.173 313.8)
XYZxyz(30.9289, 20.6429, 58.8435)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A85ECB #81CB5E
analogous
#715ECB #A85ECB #CB5EB7
triadic
#A85ECB #CBA85E #5ECBA8
tetradic
#A85ECB #CB715E #81CB5E #5EB7CB
square
#A85ECB #CB715E #81CB5E #5EB7CB
split-complementary
#A85ECB #B7CB5E #5ECB71
monochromatic
#672B84 #8B3AB2 #A85ECB #C18CDA #DABBE9

Accessibility & contrast

On white

4.09
#A85ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#A85ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A85ECB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A85ECB#FFFFFF#000000##000000
##A85ECB1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4279CF
Deuteranopia (green-blind)
#5B7FC8
Tritanopia (blue-blind)
#A5708C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a85ecb;
/* rgb */ color: rgb(168, 94, 203);
/* oklch */ color: oklch(61.1% 0.173 313.8);
Tailwind
colors: {
  custom: {
    50: '#c48edb',
    500: '#a85ecb',
    950: '#000000',
  },
}
SCSS
$custom: #a85ecb;
$custom-light: #c48edb;
$custom-dark: #000000;
JSON
{
  "hex": "#a85ecb",
  "rgb": {
    "r": 168,
    "g": 94,
    "b": 203
  },
  "hsl": {
    "h": 280.734,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61134,
    "c": 0.17291,
    "h": 313.8
  },
  "luminance": 0.20642
}

Semantic roles & 50–950 ramp

primary
#A85ECB
secondary
#BBD8AD
accent
#DB4D7B
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A85ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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