#A170E8#A170E8

#A170E8 is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.8% C 0.176 H 300.4°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#A170E8
RGBrgb(161, 112, 232)
HSLhsl(265, 72%, 67%)
HSVhsv(265, 52%, 91%)
CMYKcmyk(30.6%, 51.7%, 0%, 9%)
CIE-LABlab(57.07, 43.62, -53.97)
CIE-LCHlch(57.07, 69.39, 308.95°)
OKLaboklab(64.8% 0.0893 -0.1522)
OKLCHoklch(64.8% 0.176 300.4)
XYZxyz(35.0542, 24.9914, 79.3053)
Luminance0.2499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170E8 #B7E870
analogous
#707BE8 #A170E8 #DD70E8
triadic
#A170E8 #E8A170 #70E8A1
tetradic
#A170E8 #E8707B #B7E870 #70E8DD
square
#A170E8 #E8707B #B7E870 #70E8DD
split-complementary
#A170E8 #E8DD70 #7BE870
monochromatic
#601FBF #7E3BE0 #A170E8 #C4A5F0 #E6D9F9

Accessibility & contrast

On white

3.50
#A170E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#A170E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170E8
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170E8#FFFFFF#000000##000000
##A170E81.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4589EC
Deuteranopia (green-blind)
#5388E5
Tritanopia (blue-blind)
#9387A2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a170e8;
/* rgb */ color: rgb(161, 112, 232);
/* oklch */ color: oklch(64.8% 0.176 300.4);
Tailwind
colors: {
  custom: {
    50: '#c09af0',
    500: '#a170e8',
    950: '#000000',
  },
}
SCSS
$custom: #a170e8;
$custom-light: #c09af0;
$custom-dark: #000000;
JSON
{
  "hex": "#a170e8",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 232
  },
  "hsl": {
    "h": 264.5,
    "s": 72.289,
    "l": 67.451
  },
  "oklch": {
    "l": 0.64801,
    "c": 0.17645,
    "h": 300.4
  },
  "luminance": 0.24992
}

Semantic roles & 50–950 ramp

primary
#A170E8
secondary
#DDEDC7
accent
#D41185
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A170E8

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

Preview Lab → · Contrast checker → · Palette generator →

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