#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 |
|---|---|
| RGB | rgb(161, 112, 251) |
| HSL | hsl(261, 95%, 71%) |
| HSV | hsv(261, 55%, 98%) |
| CMYK | cmyk(35.9%, 55.4%, 0%, 1.6%) |
| CIE-LAB | lab(58.16, 48.36, -62.77) |
| CIE-LCH | lch(58.16, 79.24, 307.61°) |
| OKLab | oklab(65.96% 0.0901 -0.178) |
| OKLCH | oklch(65.96% 0.2 296.8) |
| XYZ | xyz(37.9003, 26.1299, 94.2949) |
| Luminance | 0.2613 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.59
Mediumpurple
#9370DB
ΔE00 4.97
Lighter Purple
#A55AF4
ΔE00 5.38
Easter Purple
#C071FE
ΔE00 5.57
Light Purple
#BF77F6
ΔE00 6.14
Periwinkle (survey)
#8E82FE
ΔE00 6.50
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 |
|---|---|---|---|---|
| ##A170FB | 1.00 | 3.37 | 6.23 | 6.23 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.23 | 21.00 | 1.00 | 1.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