#8538AF#8538AF
#8538AF is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.1% C 0.186 H 311.2°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #8538AF |
|---|---|
| RGB | rgb(133, 56, 175) |
| HSL | hsl(279, 52%, 45%) |
| HSV | hsv(279, 68%, 69%) |
| CMYK | cmyk(24%, 68%, 0%, 31.4%) |
| CIE-LAB | lab(39.43, 52.53, -49.63) |
| CIE-LCH | lch(39.43, 72.26, 316.62°) |
| OKLab | oklab(50.09% 0.1226 -0.1401) |
| OKLCH | oklch(50.09% 0.186 311.2) |
| XYZ | xyz(18.8235, 10.9105, 41.6635) |
| Luminance | 0.1091 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.33
Darkorchid
#9932CC
ΔE00 5.01
Purple (survey)
#7E1E9C
ΔE00 5.46
Darkviolet
#9400D3
ΔE00 6.35
Rebeccapurple
#663399
ΔE00 6.39
Royal Purple
#7851A9
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8538AF #62AF38
analogous
#4A38AF #8538AF #AF389D
triadic
#8538AF #AF8538 #38AF85
tetradic
#8538AF #AF4A38 #62AF38 #389DAF
square
#8538AF #AF4A38 #62AF38 #389DAF
split-complementary
#8538AF #9DAF38 #38AF4A
monochromatic
#3F1A52 #622981 #8538AF #A35ACA #BD88D9
Accessibility & contrast
On white
6.60
#8538AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#8538AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8538AF
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8538AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8538AF | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#295EAC
Tritanopia (blue-blind)
#80516F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8538af; /* rgb */ color: rgb(133, 56, 175); /* oklch */ color: oklch(50.1% 0.186 311.2);
Tailwind
colors: {
custom: {
50: '#ac74c7',
500: '#8538af',
950: '#000000',
},
}SCSS
$custom: #8538af; $custom-light: #ac74c7; $custom-dark: #000000;
JSON
{
"hex": "#8538af",
"rgb": {
"r": 133,
"g": 56,
"b": 175
},
"hsl": {
"h": 278.824,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.50085,
"c": 0.18616,
"h": 311.2
},
"luminance": 0.1091
}Semantic roles & 50–950 ramp
primary
#8538AF
secondary
#97C380
accent
#DB4D7F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82