#A170F4#A170F4

#A170F4 is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.5% C 0.191 H 298.1°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A170F4
RGBrgb(161, 112, 244)
HSLhsl(262, 86%, 70%)
HSVhsv(262, 54%, 96%)
CMYKcmyk(34%, 54.1%, 0%, 4.3%)
CIE-LABlab(57.75, 46.60, -59.56)
CIE-LCHlch(57.75, 75.63, 308.04°)
OKLaboklab(65.53% 0.0899 -0.1686)
OKLCHoklch(65.53% 0.191 298.1)
XYZxyz(36.8172, 25.6966, 88.5906)
Luminance0.2570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170F4 #C3F470
analogous
#7081F4 #A170F4 #E370F4
triadic
#A170F4 #F4A170 #70F4A1
tetradic
#A170F4 #F47081 #C3F470 #70F4E3
square
#A170F4 #F47081 #C3F470 #70F4E3
split-complementary
#A170F4 #F4E370 #81F470
monochromatic
#5B11D9 #7C37F0 #A170F4 #C6A9F8 #ECE2FD

Accessibility & contrast

On white

3.42
#A170F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#A170F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170F4
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170F4#FFFFFF#000000##000000
##A170F41.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#388BF8
Deuteranopia (green-blind)
#4889F1
Tritanopia (blue-blind)
#8F8BA7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a170f4;
/* rgb */ color: rgb(161, 112, 244);
/* oklch */ color: oklch(65.5% 0.191 298.1);
Tailwind
colors: {
  custom: {
    50: '#c19af8',
    500: '#a170f4',
    950: '#000000',
  },
}
SCSS
$custom: #a170f4;
$custom-light: #c19af8;
$custom-dark: #000000;
JSON
{
  "hex": "#a170f4",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 244
  },
  "hsl": {
    "h": 262.273,
    "s": 85.714,
    "l": 69.804
  },
  "oklch": {
    "l": 0.65525,
    "c": 0.19105,
    "h": 298.1
  },
  "luminance": 0.25697
}

Semantic roles & 50–950 ramp

primary
#A170F4
secondary
#E5F3CD
accent
#E2038F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A170F4

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

Preview Lab → · Contrast checker → · Palette generator →

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