#A170FB#A170FB

#A170FB is a light, vivid violet. Relative luminance 0.261; OKLCH L 66.0% C 0.200 H 296.8°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A170FB
RGBrgb(161, 112, 251)
HSLhsl(261, 95%, 71%)
HSVhsv(261, 55%, 98%)
CMYKcmyk(35.9%, 55.4%, 0%, 1.6%)
CIE-LABlab(58.16, 48.36, -62.77)
CIE-LCHlch(58.16, 79.24, 307.61°)
OKLaboklab(65.96% 0.0901 -0.178)
OKLCHoklch(65.96% 0.2 296.8)
XYZxyz(37.9003, 26.1299, 94.2949)
Luminance0.2613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170FB #CAFB70
analogous
#7084FB #A170FB #E670FB
triadic
#A170FB #FBA170 #70FBA1
tetradic
#A170FB #FB7084 #CAFB70 #70FBE6
square
#A170FB #FB7084 #CAFB70 #70FBE6
split-complementary
#A170FB #FBE670 #84FB70
monochromatic
#5707EA #7A34F9 #A170FB #C8ACFD #EBE1FE

Accessibility & contrast

On white

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

On black

6.23
#A170FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170FB
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170FB#FFFFFF#000000##000000
##A170FB1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a170fb;
/* rgb */ color: rgb(161, 112, 251);
/* oklch */ color: oklch(66.0% 0.200 296.8);
Tailwind
colors: {
  custom: {
    50: '#c19afd',
    500: '#a170fb',
    950: '#000000',
  },
}
SCSS
$custom: #a170fb;
$custom-light: #c19afd;
$custom-dark: #000000;
JSON
{
  "hex": "#a170fb",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 261.151,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.65961,
    "c": 0.1995,
    "h": 296.8
  },
  "luminance": 0.2613
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A170FB

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

Preview Lab → · Contrast checker → · Palette generator →

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