#A170F1#A170F1

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

Color values

HEX#A170F1
RGBrgb(161, 112, 241)
HSLhsl(263, 82%, 69%)
HSVhsv(263, 54%, 95%)
CMYKcmyk(33.2%, 53.5%, 0%, 5.5%)
CIE-LABlab(57.57, 45.85, -58.17)
CIE-LCHlch(57.57, 74.07, 308.24°)
OKLaboklab(65.34% 0.0898 -0.1645)
OKLCHoklch(65.34% 0.187 298.6)
XYZxyz(36.3654, 25.5159, 86.2112)
Luminance0.2552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170F1 #C0F170
analogous
#7080F1 #A170F1 #E270F1
triadic
#A170F1 #F1A170 #70F1A1
tetradic
#A170F1 #F17080 #C0F170 #70F1E2
square
#A170F1 #F17080 #C0F170 #70F1E2
split-complementary
#A170F1 #F1E270 #80F170
monochromatic
#5D15D2 #7C38EC #A170F1 #C6A8F6 #EADFFC

Accessibility & contrast

On white

3.44
#A170F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#A170F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170F1
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170F1#FFFFFF#000000##000000
##A170F11.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8AF5
Deuteranopia (green-blind)
#4B89EE
Tritanopia (blue-blind)
#908AA6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a170f1;
/* rgb */ color: rgb(161, 112, 241);
/* oklch */ color: oklch(65.3% 0.187 298.6);
Tailwind
colors: {
  custom: {
    50: '#c19af6',
    500: '#a170f1',
    950: '#000000',
  },
}
SCSS
$custom: #a170f1;
$custom-light: #c19af6;
$custom-dark: #000000;
JSON
{
  "hex": "#a170f1",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 241
  },
  "hsl": {
    "h": 262.791,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65341,
    "c": 0.18741,
    "h": 298.6
  },
  "luminance": 0.25516
}

Semantic roles & 50–950 ramp

primary
#A170F1
secondary
#E3F1CC
accent
#DF078D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A170F1

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

Preview Lab → · Contrast checker → · Palette generator →

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