#8738B3#8738B3
#8738B3 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.6% C 0.191 H 310.8°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #8738B3 |
|---|---|
| RGB | rgb(135, 56, 179) |
| HSL | hsl(279, 52%, 46%) |
| HSV | hsv(279, 69%, 70%) |
| CMYK | cmyk(24.6%, 68.7%, 0%, 29.8%) |
| CIE-LAB | lab(39.97, 53.84, -51.11) |
| CIE-LCH | lch(39.97, 74.24, 316.49°) |
| OKLab | oklab(50.62% 0.1248 -0.1444) |
| OKLCH | oklch(50.62% 0.191 310.8) |
| XYZ | xyz(19.5410, 11.2344, 43.7781) |
| Luminance | 0.1123 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.10
Darkorchid
#9932CC
ΔE00 4.36
Darkviolet
#9400D3
ΔE00 5.91
Purple (survey)
#7E1E9C
ΔE00 5.92
Barney
#AC1DB8
ΔE00 6.60
Royal Purple
#7851A9
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8738B3 #64B338
analogous
#4A38B3 #8738B3 #B338A1
triadic
#8738B3 #B38738 #38B387
tetradic
#8738B3 #B34A38 #64B338 #38A1B3
square
#8738B3 #B34A38 #64B338 #38A1B3
split-complementary
#8738B3 #A1B338 #38B34A
monochromatic
#411B56 #642984 #8738B3 #A45CCC #BE8BDB
Accessibility & contrast
On white
6.47
#8738B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#8738B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8738B3
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8738B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8738B3 | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#2760B0
Tritanopia (blue-blind)
#815271
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8738b3; /* rgb */ color: rgb(135, 56, 179); /* oklch */ color: oklch(50.6% 0.191 310.8);
Tailwind
colors: {
custom: {
50: '#ae75ca',
500: '#8738b3',
950: '#000000',
},
}SCSS
$custom: #8738b3; $custom-light: #ae75ca; $custom-dark: #000000;
JSON
{
"hex": "#8738b3",
"rgb": {
"r": 135,
"g": 56,
"b": 179
},
"hsl": {
"h": 278.537,
"s": 52.34,
"l": 46.078
},
"oklch": {
"l": 0.50617,
"c": 0.19087,
"h": 310.8
},
"luminance": 0.11234
}Semantic roles & 50–950 ramp
primary
#8738B3
secondary
#9AC582
accent
#DC4C7F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82