#8738B0#8738B0
#8738B0 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.4% C 0.188 H 311.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #8738B0 |
|---|---|
| RGB | rgb(135, 56, 176) |
| HSL | hsl(280, 52%, 45%) |
| HSV | hsv(280, 68%, 69%) |
| CMYK | cmyk(23.3%, 68.2%, 0%, 31%) |
| CIE-LAB | lab(39.77, 53.19, -49.66) |
| CIE-LCH | lch(39.77, 72.76, 316.97°) |
| OKLab | oklab(50.41% 0.1251 -0.1401) |
| OKLCH | oklch(50.41% 0.188 311.8) |
| XYZ | xyz(19.2409, 11.1143, 42.1976) |
| Luminance | 0.1111 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.98
Darkorchid
#9932CC
ΔE00 4.72
Purple (survey)
#7E1E9C
ΔE00 5.65
Darkviolet
#9400D3
ΔE00 6.24
Barney
#AC1DB8
ΔE00 6.54
Royal Purple
#7851A9
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8738B0 #61B038
analogous
#4B38B0 #8738B0 #B0389D
triadic
#8738B0 #B08738 #38B087
tetradic
#8738B0 #B04B38 #61B038 #389DB0
square
#8738B0 #B04B38 #61B038 #389DB0
split-complementary
#8738B0 #9DB038 #38B04B
monochromatic
#401A53 #632982 #8738B0 #A45BCB #BE89D9
Accessibility & contrast
On white
6.52
#8738B0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#8738B0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8738B0
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8738B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8738B0 | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#2B5FAD
Tritanopia (blue-blind)
#82516F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8738b0; /* rgb */ color: rgb(135, 56, 176); /* oklch */ color: oklch(50.4% 0.188 311.8);
Tailwind
colors: {
custom: {
50: '#ae75c8',
500: '#8738b0',
950: '#000000',
},
}SCSS
$custom: #8738b0; $custom-light: #ae75c8; $custom-dark: #000000;
JSON
{
"hex": "#8738b0",
"rgb": {
"r": 135,
"g": 56,
"b": 176
},
"hsl": {
"h": 279.5,
"s": 51.724,
"l": 45.49
},
"oklch": {
"l": 0.5041,
"c": 0.18785,
"h": 311.8
},
"luminance": 0.11114
}Semantic roles & 50–950 ramp
primary
#8738B0
secondary
#97C480
accent
#DB4D7D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82