#A170F3#A170F3

#A170F3 is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.5% C 0.190 H 298.3°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A170F3
RGBrgb(161, 112, 243)
HSLhsl(262, 85%, 70%)
HSVhsv(262, 54%, 95%)
CMYKcmyk(33.7%, 53.9%, 0%, 4.7%)
CIE-LABlab(57.69, 46.35, -59.10)
CIE-LCHlch(57.69, 75.11, 308.11°)
OKLaboklab(65.46% 0.0899 -0.1672)
OKLCHoklch(65.46% 0.19 298.3)
XYZxyz(36.6658, 25.6361, 87.7932)
Luminance0.2564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170F3 #C2F370
analogous
#7081F3 #A170F3 #E370F3
triadic
#A170F3 #F3A170 #70F3A1
tetradic
#A170F3 #F37081 #C2F370 #70F3E3
square
#A170F3 #F37081 #C2F370 #70F3E3
split-complementary
#A170F3 #F3E370 #81F370
monochromatic
#5C12D7 #7C38EE #A170F3 #C6A8F8 #EBE1FC

Accessibility & contrast

On white

3.43
#A170F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#A170F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170F3
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170F3#FFFFFF#000000##000000
##A170F31.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#398BF7
Deuteranopia (green-blind)
#4989F0
Tritanopia (blue-blind)
#8F8AA7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a170f3;
/* rgb */ color: rgb(161, 112, 243);
/* oklch */ color: oklch(65.5% 0.190 298.3);
Tailwind
colors: {
  custom: {
    50: '#c19af8',
    500: '#a170f3',
    950: '#000000',
  },
}
SCSS
$custom: #a170f3;
$custom-light: #c19af8;
$custom-dark: #000000;
JSON
{
  "hex": "#a170f3",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 243
  },
  "hsl": {
    "h": 262.443,
    "s": 84.516,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65463,
    "c": 0.18984,
    "h": 298.3
  },
  "luminance": 0.25636
}

Semantic roles & 50–950 ramp

primary
#A170F3
secondary
#E4F2CD
accent
#E1058F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A170F3

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

Preview Lab → · Contrast checker → · Palette generator →

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