#8231AF#8231AF
#8231AF is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.9% C 0.194 H 310.5°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8231AF |
|---|---|
| RGB | rgb(130, 49, 175) |
| HSL | hsl(279, 56%, 44%) |
| HSV | hsv(279, 72%, 69%) |
| CMYK | cmyk(25.7%, 72%, 0%, 31.4%) |
| CIE-LAB | lab(37.91, 54.97, -52.10) |
| CIE-LCH | lch(37.91, 75.74, 316.54°) |
| OKLab | oklab(48.91% 0.1261 -0.1474) |
| OKLCH | oklch(48.91% 0.194 310.5) |
| XYZ | xyz(18.0406, 10.0380, 41.5363) |
| Luminance | 0.1004 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.33
Darkorchid
#9932CC
ΔE00 5.59
Rebeccapurple
#663399
ΔE00 5.64
Purply
#983FB2
ΔE00 5.64
Darkviolet
#9400D3
ΔE00 5.75
Blueviolet
#8A2BE2
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8231AF #5EAF31
analogous
#4331AF #8231AF #AF319D
triadic
#8231AF #AF8231 #31AF82
tetradic
#8231AF #AF4331 #5EAF31 #319DAF
square
#8231AF #AF4331 #5EAF31 #319DAF
split-complementary
#8231AF #9DAF31 #31AF43
monochromatic
#3B164F #5E247F #8231AF #A14FCE #BA7FDB
Accessibility & contrast
On white
6.98
#8231AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#8231AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8231AF
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8231AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8231AF | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#1B5BAC
Tritanopia (blue-blind)
#7C4D6D
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #8231af; /* rgb */ color: rgb(130, 49, 175); /* oklch */ color: oklch(48.9% 0.194 310.5);
Tailwind
colors: {
custom: {
50: '#ab70c8',
500: '#8231af',
950: '#000000',
},
}SCSS
$custom: #8231af; $custom-light: #ab70c8; $custom-dark: #000000;
JSON
{
"hex": "#8231af",
"rgb": {
"r": 130,
"g": 49,
"b": 175
},
"hsl": {
"h": 278.571,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.48913,
"c": 0.194,
"h": 310.5
},
"luminance": 0.10038
}Semantic roles & 50–950 ramp
primary
#8231AF
secondary
#93C478
accent
#E0487E
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100813
muted
#7F7B82