#A170EE#A170EE

#A170EE is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.2% C 0.184 H 299.2°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A170EE
RGBrgb(161, 112, 238)
HSLhsl(263, 79%, 69%)
HSVhsv(263, 53%, 93%)
CMYKcmyk(32.4%, 52.9%, 0%, 6.7%)
CIE-LABlab(57.40, 45.10, -56.78)
CIE-LCHlch(57.40, 72.51, 308.46°)
OKLaboklab(65.16% 0.0896 -0.1604)
OKLCHoklch(65.16% 0.184 299.2)
XYZxyz(35.9210, 25.3381, 83.8706)
Luminance0.2534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170EE #BDEE70
analogous
#707EEE #A170EE #E070EE
triadic
#A170EE #EEA170 #70EEA1
tetradic
#A170EE #EE707E #BDEE70 #70EEE0
square
#A170EE #EE707E #BDEE70 #70EEE0
split-complementary
#A170EE #EEE070 #7EEE70
monochromatic
#5E18CB #7D39E7 #A170EE #C5A7F5 #E9DDFB

Accessibility & contrast

On white

3.46
#A170EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#A170EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170EE
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170EE#FFFFFF#000000##000000
##A170EE1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8AF2
Deuteranopia (green-blind)
#4E89EB
Tritanopia (blue-blind)
#9189A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a170ee;
/* rgb */ color: rgb(161, 112, 238);
/* oklch */ color: oklch(65.2% 0.184 299.2);
Tailwind
colors: {
  custom: {
    50: '#c09af4',
    500: '#a170ee',
    950: '#000000',
  },
}
SCSS
$custom: #a170ee;
$custom-light: #c09af4;
$custom-dark: #000000;
JSON
{
  "hex": "#a170ee",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 238
  },
  "hsl": {
    "h": 263.333,
    "s": 78.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65159,
    "c": 0.18377,
    "h": 299.2
  },
  "luminance": 0.25338
}

Semantic roles & 50–950 ramp

primary
#A170EE
secondary
#E1F0CA
accent
#DB0A8A
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A170EE

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

Preview Lab → · Contrast checker → · Palette generator →

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