#8438BA#8438BA
#8438BA is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.7% C 0.197 H 307.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #8438BA |
|---|---|
| RGB | rgb(132, 56, 186) |
| HSL | hsl(275, 54%, 47%) |
| HSV | hsv(275, 70%, 73%) |
| CMYK | cmyk(29%, 69.9%, 0%, 27.1%) |
| CIE-LAB | lab(40.05, 54.77, -55.14) |
| CIE-LCH | lch(40.05, 77.72, 314.81°) |
| OKLab | oklab(50.74% 0.12 -0.1563) |
| OKLCH | oklch(50.74% 0.197 307.5) |
| XYZ | xyz(19.7910, 11.2793, 47.5794) |
| Luminance | 0.1128 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.09
Purply
#983FB2
ΔE00 5.07
Darkviolet
#9400D3
ΔE00 5.33
Blueviolet
#8A2BE2
ΔE00 5.50
Purple (survey)
#7E1E9C
ΔE00 6.56
Royal Purple
#7851A9
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8438BA #6EBA38
analogous
#4338BA #8438BA #BA38AF
triadic
#8438BA #BA8438 #38BA84
tetradic
#8438BA #BA4338 #6EBA38 #38AFBA
square
#8438BA #BA4338 #6EBA38 #38AFBA
split-complementary
#8438BA #AFBA38 #38BA43
monochromatic
#411C5C #632A8B #8438BA #A160CF #BD8FDD
Accessibility & contrast
On white
6.45
#8438BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#8438BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8438BA
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8438BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8438BA | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#145FB7
Tritanopia (blue-blind)
#7B5575
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8438ba; /* rgb */ color: rgb(132, 56, 186); /* oklch */ color: oklch(50.7% 0.197 307.5);
Tailwind
colors: {
custom: {
50: '#ac75cf',
500: '#8438ba',
950: '#000000',
},
}SCSS
$custom: #8438ba; $custom-light: #ac75cf; $custom-dark: #000000;
JSON
{
"hex": "#8438ba",
"rgb": {
"r": 132,
"g": 56,
"b": 186
},
"hsl": {
"h": 275.077,
"s": 53.719,
"l": 47.451
},
"oklch": {
"l": 0.50737,
"c": 0.19709,
"h": 307.5
},
"luminance": 0.11279
}Semantic roles & 50–950 ramp
primary
#8438BA
secondary
#A1C886
accent
#DD4B88
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82