#A170F0#A170F0

#A170F0 is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.3% C 0.186 H 298.8°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A170F0
RGBrgb(161, 112, 240)
HSLhsl(263, 81%, 69%)
HSVhsv(263, 53%, 94%)
CMYKcmyk(32.9%, 53.3%, 0%, 5.9%)
CIE-LABlab(57.52, 45.60, -57.71)
CIE-LCHlch(57.52, 73.55, 308.32°)
OKLaboklab(65.28% 0.0897 -0.1631)
OKLCHoklch(65.28% 0.186 298.8)
XYZxyz(36.2165, 25.4563, 85.4267)
Luminance0.2546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170F0 #BFF070
analogous
#707FF0 #A170F0 #E170F0
triadic
#A170F0 #F0A170 #70F0A1
tetradic
#A170F0 #F0707F #BFF070 #70F0E1
square
#A170F0 #F0707F #BFF070 #70F0E1
split-complementary
#A170F0 #F0E170 #7FF070
monochromatic
#5D16D0 #7D39EA #A170F0 #C5A7F6 #EADFFC

Accessibility & contrast

On white

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

On black

6.09
#A170F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170F0
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170F0#FFFFFF#000000##000000
##A170F01.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a170f0;
/* rgb */ color: rgb(161, 112, 240);
/* oklch */ color: oklch(65.3% 0.186 298.8);
Tailwind
colors: {
  custom: {
    50: '#c19af5',
    500: '#a170f0',
    950: '#000000',
  },
}
SCSS
$custom: #a170f0;
$custom-light: #c19af5;
$custom-dark: #000000;
JSON
{
  "hex": "#a170f0",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 240
  },
  "hsl": {
    "h": 262.969,
    "s": 81.013,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6528,
    "c": 0.1862,
    "h": 298.8
  },
  "luminance": 0.25457
}

Semantic roles & 50–950 ramp

primary
#A170F0
secondary
#E2F1CB
accent
#DD088C
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A170F0

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

Preview Lab → · Contrast checker → · Palette generator →

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