#8738B4#8738B4
#8738B4 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.7% C 0.192 H 310.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #8738B4 |
|---|---|
| RGB | rgb(135, 56, 180) |
| HSL | hsl(278, 53%, 46%) |
| HSV | hsv(278, 69%, 71%) |
| CMYK | cmyk(25%, 68.9%, 0%, 29.4%) |
| CIE-LAB | lab(40.04, 54.06, -51.59) |
| CIE-LCH | lch(40.04, 74.73, 316.34°) |
| OKLab | oklab(50.69% 0.1247 -0.1458) |
| OKLCH | oklch(50.69% 0.192 310.5) |
| XYZ | xyz(19.6425, 11.2750, 44.3127) |
| Luminance | 0.1128 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.15
Darkorchid
#9932CC
ΔE00 4.25
Darkviolet
#9400D3
ΔE00 5.81
Purple (survey)
#7E1E9C
ΔE00 6.01
Blueviolet
#8A2BE2
ΔE00 6.49
Barney
#AC1DB8
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8738B4 #65B438
analogous
#4938B4 #8738B4 #B438A3
triadic
#8738B4 #B48738 #38B487
tetradic
#8738B4 #B44938 #65B438 #38A3B4
square
#8738B4 #B44938 #65B438 #38A3B4
split-complementary
#8738B4 #A3B438 #38B449
monochromatic
#411B57 #642985 #8738B4 #A45DCD #BE8BDB
Accessibility & contrast
On white
6.45
#8738B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#8738B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8738B4
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8738B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8738B4 | 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)
#005BB8
Deuteranopia (green-blind)
#2660B1
Tritanopia (blue-blind)
#815272
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8738b4; /* rgb */ color: rgb(135, 56, 180); /* oklch */ color: oklch(50.7% 0.192 310.5);
Tailwind
colors: {
custom: {
50: '#ae75cb',
500: '#8738b4',
950: '#000000',
},
}SCSS
$custom: #8738b4; $custom-light: #ae75cb; $custom-dark: #000000;
JSON
{
"hex": "#8738b4",
"rgb": {
"r": 135,
"g": 56,
"b": 180
},
"hsl": {
"h": 278.226,
"s": 52.542,
"l": 46.275
},
"oklch": {
"l": 0.50687,
"c": 0.19188,
"h": 310.5
},
"luminance": 0.11275
}Semantic roles & 50–950 ramp
primary
#8738B4
secondary
#9BC582
accent
#DC4C80
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82