#8738B9#8738B9
#8738B9 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 51.0% C 0.197 H 309.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #8738B9 |
|---|---|
| RGB | rgb(135, 56, 185) |
| HSL | hsl(277, 54%, 47%) |
| HSV | hsv(277, 70%, 73%) |
| CMYK | cmyk(27%, 69.7%, 0%, 27.5%) |
| CIE-LAB | lab(40.38, 55.17, -53.99) |
| CIE-LCH | lch(40.38, 77.19, 315.62°) |
| OKLab | oklab(51.04% 0.1242 -0.1529) |
| OKLCH | oklch(51.04% 0.197 309.1) |
| XYZ | xyz(20.1610, 11.4824, 47.0438) |
| Luminance | 0.1148 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.76
Purply
#983FB2
ΔE00 4.46
Darkviolet
#9400D3
ΔE00 5.35
Blueviolet
#8A2BE2
ΔE00 5.72
Purple (survey)
#7E1E9C
ΔE00 6.53
Royal Purple
#7851A9
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8738B9 #6AB938
analogous
#4638B9 #8738B9 #B938AB
triadic
#8738B9 #B98738 #38B987
tetradic
#8738B9 #B94638 #6AB938 #38ABB9
square
#8738B9 #B94638 #6AB938 #38ABB9
split-complementary
#8738B9 #ABB938 #38B946
monochromatic
#421C5B #652A8A #8738B9 #A45FCF #BF8EDD
Accessibility & contrast
On white
6.37
#8738B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#8738B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8738B9
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8738B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8738B9 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#1D60B6
Tritanopia (blue-blind)
#805474
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8738b9; /* rgb */ color: rgb(135, 56, 185); /* oklch */ color: oklch(51.0% 0.197 309.1);
Tailwind
colors: {
custom: {
50: '#ae75cf',
500: '#8738b9',
950: '#000000',
},
}SCSS
$custom: #8738b9; $custom-light: #ae75cf; $custom-dark: #000000;
JSON
{
"hex": "#8738b9",
"rgb": {
"r": 135,
"g": 56,
"b": 185
},
"hsl": {
"h": 276.744,
"s": 53.527,
"l": 47.255
},
"oklch": {
"l": 0.5104,
"c": 0.19692,
"h": 309.1
},
"luminance": 0.11482
}Semantic roles & 50–950 ramp
primary
#8738B9
secondary
#9FC885
accent
#DD4B83
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82