#A170EA#A170EA

#A170EA is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.9% C 0.179 H 300.0°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A170EA
RGBrgb(161, 112, 234)
HSLhsl(264, 74%, 68%)
HSVhsv(264, 52%, 92%)
CMYKcmyk(31.2%, 52.1%, 0%, 8.2%)
CIE-LABlab(57.18, 44.12, -54.91)
CIE-LCHlch(57.18, 70.43, 308.78°)
OKLaboklab(64.92% 0.0894 -0.1549)
OKLCHoklch(64.92% 0.179 300)
XYZxyz(35.3399, 25.1057, 80.8100)
Luminance0.2511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170EA #B9EA70
analogous
#707CEA #A170EA #DE70EA
triadic
#A170EA #EAA170 #70EAA1
tetradic
#A170EA #EA707C #B9EA70 #70EADE
square
#A170EA #EA707C #B9EA70 #70EADE
split-complementary
#A170EA #EADE70 #7CEA70
monochromatic
#5F1DC3 #7E3BE2 #A170EA #C4A5F2 #E7DBFA

Accessibility & contrast

On white

3.49
#A170EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#A170EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170EA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170EA#FFFFFF#000000##000000
##A170EA1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4389EE
Deuteranopia (green-blind)
#5188E7
Tritanopia (blue-blind)
#9288A2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a170ea;
/* rgb */ color: rgb(161, 112, 234);
/* oklch */ color: oklch(64.9% 0.179 300.0);
Tailwind
colors: {
  custom: {
    50: '#c09af1',
    500: '#a170ea',
    950: '#000000',
  },
}
SCSS
$custom: #a170ea;
$custom-light: #c09af1;
$custom-dark: #000000;
JSON
{
  "hex": "#a170ea",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 264.098,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.64919,
    "c": 0.17889,
    "h": 300
  },
  "luminance": 0.25106
}

Semantic roles & 50–950 ramp

primary
#A170EA
secondary
#DFEEC8
accent
#D70F86
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A170EA

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

Preview Lab → · Contrast checker → · Palette generator →

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