#A170EB#A170EB

#A170EB is a light, vivid violet. Relative luminance 0.252; OKLCH L 65.0% C 0.180 H 299.8°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A170EB
RGBrgb(161, 112, 235)
HSLhsl(264, 75%, 68%)
HSVhsv(264, 52%, 92%)
CMYKcmyk(31.5%, 52.3%, 0%, 7.8%)
CIE-LABlab(57.23, 44.36, -55.38)
CIE-LCHlch(57.23, 70.95, 308.70°)
OKLaboklab(64.98% 0.0895 -0.1563)
OKLCHoklch(64.98% 0.18 299.8)
XYZxyz(35.4839, 25.1633, 81.5687)
Luminance0.2516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170EB #BAEB70
analogous
#707DEB #A170EB #DE70EB
triadic
#A170EB #EBA170 #70EBA1
tetradic
#A170EB #EB707D #BAEB70 #70EBDE
square
#A170EB #EB707D #BAEB70 #70EBDE
split-complementary
#A170EB #EBDE70 #7DEB70
monochromatic
#5F1CC5 #7E3AE3 #A170EB #C4A6F3 #E8DBFA

Accessibility & contrast

On white

3.48
#A170EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#A170EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170EB
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170EB#FFFFFF#000000##000000
##A170EB1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4289EF
Deuteranopia (green-blind)
#5089E8
Tritanopia (blue-blind)
#9288A3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a170eb;
/* rgb */ color: rgb(161, 112, 235);
/* oklch */ color: oklch(65.0% 0.180 299.8);
Tailwind
colors: {
  custom: {
    50: '#c09af2',
    500: '#a170eb',
    950: '#000000',
  },
}
SCSS
$custom: #a170eb;
$custom-light: #c09af2;
$custom-dark: #000000;
JSON
{
  "hex": "#a170eb",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 263.902,
    "s": 75.46,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64979,
    "c": 0.18011,
    "h": 299.8
  },
  "luminance": 0.25164
}

Semantic roles & 50–950 ramp

primary
#A170EB
secondary
#DFEEC9
accent
#D80E87
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A170EB

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

Preview Lab → · Contrast checker → · Palette generator →

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