#A170EF#A170EF

#A170EF is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.2% C 0.185 H 299.0°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A170EF
RGBrgb(161, 112, 239)
HSLhsl(263, 80%, 69%)
HSVhsv(263, 53%, 94%)
CMYKcmyk(32.6%, 53.1%, 0%, 6.3%)
CIE-LABlab(57.46, 45.35, -57.24)
CIE-LCHlch(57.46, 73.03, 308.39°)
OKLaboklab(65.22% 0.0897 -0.1618)
OKLCHoklch(65.22% 0.185 299)
XYZxyz(36.0683, 25.3971, 84.6465)
Luminance0.2540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170EF #BEEF70
analogous
#707FEF #A170EF #E170EF
triadic
#A170EF #EFA170 #70EFA1
tetradic
#A170EF #EF707F #BEEF70 #70EFE1
square
#A170EF #EF707F #BEEF70 #70EFE1
split-complementary
#A170EF #EFE170 #7FEF70
monochromatic
#5D17CE #7D39E9 #A170EF #C5A7F5 #E9DEFB

Accessibility & contrast

On white

3.45
#A170EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#A170EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170EF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170EF#FFFFFF#000000##000000
##A170EF1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8AF3
Deuteranopia (green-blind)
#4D89EC
Tritanopia (blue-blind)
#9089A5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a170ef;
/* rgb */ color: rgb(161, 112, 239);
/* oklch */ color: oklch(65.2% 0.185 299.0);
Tailwind
colors: {
  custom: {
    50: '#c09af5',
    500: '#a170ef',
    950: '#000000',
  },
}
SCSS
$custom: #a170ef;
$custom-light: #c09af5;
$custom-dark: #000000;
JSON
{
  "hex": "#a170ef",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 263.15,
    "s": 79.874,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65219,
    "c": 0.18498,
    "h": 299
  },
  "luminance": 0.25397
}

Semantic roles & 50–950 ramp

primary
#A170EF
secondary
#E2F0CB
accent
#DC098B
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A170EF

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

Preview Lab → · Contrast checker → · Palette generator →

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