#8351AF#8351AF
#8351AF is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.3% C 0.148 H 306.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #8351AF |
|---|---|
| RGB | rgb(131, 81, 175) |
| HSL | hsl(272, 37%, 50%) |
| HSV | hsv(272, 54%, 69%) |
| CMYK | cmyk(25.1%, 53.7%, 0%, 31.4%) |
| CIE-LAB | lab(43.95, 39.17, -42.40) |
| CIE-LCH | lch(43.95, 57.73, 312.73°) |
| OKLab | oklab(53.32% 0.0885 -0.1191) |
| OKLCH | oklch(53.32% 0.148 306.6) |
| XYZ | xyz(20.0388, 13.8055, 42.1582) |
| Luminance | 0.1381 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.36
Deep Lavender
#8D5EB7
ΔE00 4.38
Purply
#983FB2
ΔE00 5.51
Amethyst
#9B5FC0
ΔE00 6.73
Medium Purple
#9E43A2
ΔE00 7.38
Darkorchid
#9932CC
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8351AF #7DAF51
analogous
#5451AF #8351AF #AF51AC
triadic
#8351AF #AF8351 #51AF83
tetradic
#8351AF #AF5451 #7DAF51 #51ACAF
square
#8351AF #AF5451 #7DAF51 #51ACAF
split-complementary
#8351AF #ACAF51 #51AF54
monochromatic
#442A5C #643D85 #8351AF #A17BC2 #BFA5D6
Accessibility & contrast
On white
5.58
#8351AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#8351AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8351AF
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8351AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8351AF | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3366B2
Deuteranopia (green-blind)
#4368AD
Tritanopia (blue-blind)
#7C6278
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8351af; /* rgb */ color: rgb(131, 81, 175); /* oklch */ color: oklch(53.3% 0.148 306.6);
Tailwind
colors: {
custom: {
50: '#a983c7',
500: '#8351af',
950: '#000000',
},
}SCSS
$custom: #8351af; $custom-light: #a983c7; $custom-dark: #000000;
JSON
{
"hex": "#8351af",
"rgb": {
"r": 131,
"g": 81,
"b": 175
},
"hsl": {
"h": 271.915,
"s": 37.008,
"l": 50.196
},
"oklch": {
"l": 0.53323,
"c": 0.1484,
"h": 306.6
},
"luminance": 0.13805
}Semantic roles & 50–950 ramp
primary
#8351AF
secondary
#ADC399
accent
#CD5B90
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82