#8738C6#8738C6
#8738C6 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.210 H 305.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8738C6 |
|---|---|
| RGB | rgb(135, 56, 198) |
| HSL | hsl(273, 56%, 50%) |
| HSV | hsv(273, 72%, 78%) |
| CMYK | cmyk(31.8%, 71.7%, 0%, 22.4%) |
| CIE-LAB | lab(41.31, 58.10, -60.09) |
| CIE-LCH | lch(41.31, 83.59, 314.03°) |
| OKLab | oklab(51.99% 0.1223 -0.1708) |
| OKLCH | oklch(51.99% 0.21 305.6) |
| XYZ | xyz(21.5966, 12.0566, 54.6045) |
| Luminance | 0.1206 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.11
Blueviolet
#8A2BE2
ΔE00 3.84
Darkviolet
#9400D3
ΔE00 4.67
Violet (survey)
#9A0EEA
ΔE00 5.46
Purply
#983FB2
ΔE00 5.60
Bluish Purple
#703BE7
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8738C6 #77C638
analogous
#4038C6 #8738C6 #C638BE
triadic
#8738C6 #C68738 #38C687
tetradic
#8738C6 #C64038 #77C638 #38BEC6
square
#8738C6 #C64038 #77C638 #38BEC6
split-complementary
#8738C6 #BEC638 #38C640
monochromatic
#461D67 #662B96 #8738C6 #A467D4 #C097E2
Accessibility & contrast
On white
6.16
#8738C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#8738C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8738C6
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8738C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8738C6 | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#7C5A7C
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8738c6; /* rgb */ color: rgb(135, 56, 198); /* oklch */ color: oklch(52.0% 0.210 305.6);
Tailwind
colors: {
custom: {
50: '#af75d8',
500: '#8738c6',
950: '#000000',
},
}SCSS
$custom: #8738c6; $custom-light: #af75d8; $custom-dark: #000000;
JSON
{
"hex": "#8738c6",
"rgb": {
"r": 135,
"g": 56,
"b": 198
},
"hsl": {
"h": 273.38,
"s": 55.906,
"l": 49.804
},
"oklch": {
"l": 0.51989,
"c": 0.21005,
"h": 305.6
},
"luminance": 0.12056
}Semantic roles & 50–950 ramp
primary
#8738C6
secondary
#A9CD8D
accent
#DF498B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83