#8A3FE2#8A3FE2
#8A3FE2 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.3% C 0.231 H 299.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3FE2 |
|---|---|
| RGB | rgb(138, 63, 226) |
| HSL | hsl(268, 74%, 57%) |
| HSV | hsv(268, 72%, 89%) |
| CMYK | cmyk(38.9%, 72.1%, 0%, 11.4%) |
| CIE-LAB | lab(44.87, 62.13, -70.38) |
| CIE-LCH | lch(44.87, 93.88, 311.44°) |
| OKLab | oklab(55.25% 0.1146 -0.201) |
| OKLCH | oklch(55.25% 0.231 299.7) |
| XYZ | xyz(25.9828, 14.4490, 73.3568) |
| Luminance | 0.1445 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.14
Bluish Purple
#703BE7
ΔE00 4.37
Violet (survey)
#9A0EEA
ΔE00 4.76
Darkorchid
#9932CC
ΔE00 4.80
Purpley
#8756E4
ΔE00 5.06
Vivid Purple
#9900FA
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3FE2 #97E23F
analogous
#3F46E2 #8A3FE2 #DB3FE2
triadic
#8A3FE2 #E28A3F #3FE28A
tetradic
#8A3FE2 #E23F46 #97E23F #3FE2DB
square
#8A3FE2 #E23F46 #97E23F #3FE2DB
split-complementary
#8A3FE2 #E2DB3F #46E23F
monochromatic
#4E1691 #6B1EC6 #8A3FE2 #AA74EA #CBA9F2
Accessibility & contrast
On white
5.40
#8A3FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#8A3FE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3FE2
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3FE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3FE2 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AE7
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#75688D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8a3fe2; /* rgb */ color: rgb(138, 63, 226); /* oklch */ color: oklch(55.3% 0.231 299.7);
Tailwind
colors: {
custom: {
50: '#b37bec',
500: '#8a3fe2',
950: '#000000',
},
}SCSS
$custom: #8a3fe2; $custom-light: #b37bec; $custom-dark: #000000;
JSON
{
"hex": "#8a3fe2",
"rgb": {
"r": 138,
"g": 63,
"b": 226
},
"hsl": {
"h": 267.607,
"s": 73.756,
"l": 56.667
},
"oklch": {
"l": 0.55254,
"c": 0.23133,
"h": 299.7
},
"luminance": 0.14449
}Semantic roles & 50–950 ramp
primary
#8A3FE2
secondary
#C1E09D
accent
#F0379B
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84