#A170FC#A170FC

#A170FC is a light, highly saturated violet. Relative luminance 0.262; OKLCH L 66.0% C 0.201 H 296.7°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A170FC
RGBrgb(161, 112, 252)
HSLhsl(261, 96%, 71%)
HSVhsv(261, 56%, 99%)
CMYKcmyk(36.1%, 55.6%, 0%, 1.2%)
CIE-LABlab(58.22, 48.62, -63.23)
CIE-LCHlch(58.22, 79.76, 307.56°)
OKLaboklab(66.02% 0.0901 -0.1793)
OKLCHoklch(66.02% 0.201 296.7)
XYZxyz(38.0583, 26.1931, 95.1272)
Luminance0.2619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170FC #CBFC70
analogous
#7085FC #A170FC #E770FC
triadic
#A170FC #FCA170 #70FCA1
tetradic
#A170FC #FC7085 #CBFC70 #70FCE7
square
#A170FC #FC7085 #CBFC70 #70FCE7
split-complementary
#A170FC #FCE770 #85FC70
monochromatic
#5605ED #7A34FB #A170FC #C8ACFD #EBE1FE

Accessibility & contrast

On white

3.37
#A170FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#A170FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170FC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170FC#FFFFFF#000000##000000
##A170FC1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8DFF
Deuteranopia (green-blind)
#3E8AF9
Tritanopia (blue-blind)
#8C8DAB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a170fc;
/* rgb */ color: rgb(161, 112, 252);
/* oklch */ color: oklch(66.0% 0.201 296.7);
Tailwind
colors: {
  custom: {
    50: '#c19bfe',
    500: '#a170fc',
    950: '#000000',
  },
}
SCSS
$custom: #a170fc;
$custom-light: #c19bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#a170fc",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 252
  },
  "hsl": {
    "h": 261,
    "s": 95.89,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66024,
    "c": 0.2007,
    "h": 296.7
  },
  "luminance": 0.26194
}

Semantic roles & 50–950 ramp

primary
#A170FC
secondary
#E9F6D2
accent
#E60095
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A170FC

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

Preview Lab → · Contrast checker → · Palette generator →

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