#A870EE#A870EE

#A870EE is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.9% C 0.185 H 302.1°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A870EE
RGBrgb(168, 112, 238)
HSLhsl(267, 79%, 69%)
HSVhsv(267, 53%, 93%)
CMYKcmyk(29.4%, 52.9%, 0%, 6.7%)
CIE-LABlab(58.12, 46.82, -55.59)
CIE-LCHlch(58.12, 72.69, 310.11°)
OKLaboklab(65.85% 0.0983 -0.1568)
OKLCHoklch(65.85% 0.185 302.1)
XYZxyz(37.3717, 26.0862, 83.9386)
Luminance0.2609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A870EE #B6EE70
analogous
#7077EE #A870EE #E770EE
triadic
#A870EE #EEA870 #70EEA8
tetradic
#A870EE #EE7077 #B6EE70 #70EEE7
square
#A870EE #EE7077 #B6EE70 #70EEE7
split-complementary
#A870EE #EEE770 #77EE70
monochromatic
#6818CB #8739E7 #A870EE #C9A7F5 #EBDDFB

Accessibility & contrast

On white

3.38
#A870EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#A870EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A870EE
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A870EE#FFFFFF#000000##000000
##A870EE1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#428BF2
Deuteranopia (green-blind)
#548BEB
Tritanopia (blue-blind)
#9B88A4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a870ee;
/* rgb */ color: rgb(168, 112, 238);
/* oklch */ color: oklch(65.9% 0.185 302.1);
Tailwind
colors: {
  custom: {
    50: '#c59bf4',
    500: '#a870ee',
    950: '#000000',
  },
}
SCSS
$custom: #a870ee;
$custom-light: #c59bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#a870ee",
  "rgb": {
    "r": 168,
    "g": 112,
    "b": 238
  },
  "hsl": {
    "h": 266.667,
    "s": 78.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65852,
    "c": 0.18504,
    "h": 302.1
  },
  "luminance": 0.26086
}

Semantic roles & 50–950 ramp

primary
#A870EE
secondary
#DFF0CA
accent
#DB0A7E
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A870EE

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

Preview Lab → · Contrast checker → · Palette generator →

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