#8738C2#8738C2
#8738C2 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.206 H 306.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #8738C2 |
|---|---|
| RGB | rgb(135, 56, 194) |
| HSL | hsl(274, 55%, 49%) |
| HSV | hsv(274, 71%, 76%) |
| CMYK | cmyk(30.4%, 71.1%, 0%, 23.9%) |
| CIE-LAB | lab(41.02, 57.19, -58.23) |
| CIE-LCH | lch(41.02, 81.62, 314.48°) |
| OKLab | oklab(51.69% 0.1229 -0.1653) |
| OKLCH | oklch(51.69% 0.206 306.6) |
| XYZ | xyz(21.1414, 11.8745, 52.2067) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.20
Blueviolet
#8A2BE2
ΔE00 4.39
Darkviolet
#9400D3
ΔE00 4.80
Purply
#983FB2
ΔE00 5.22
Violet (survey)
#9A0EEA
ΔE00 5.88
Bluish Purple
#703BE7
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8738C2 #73C238
analogous
#4238C2 #8738C2 #C238B8
triadic
#8738C2 #C28738 #38C287
tetradic
#8738C2 #C24238 #73C238 #38B8C2
square
#8738C2 #C24238 #73C238 #38B8C2
split-complementary
#8738C2 #B8C238 #38C242
monochromatic
#451D63 #662A93 #8738C2 #A465D2 #C094E0
Accessibility & contrast
On white
6.22
#8738C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#8738C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8738C2
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8738C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8738C2 | 1.00 | 6.22 | 3.37 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#7D5879
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8738c2; /* rgb */ color: rgb(135, 56, 194); /* oklch */ color: oklch(51.7% 0.206 306.6);
Tailwind
colors: {
custom: {
50: '#af75d5',
500: '#8738c2',
950: '#000000',
},
}SCSS
$custom: #8738c2; $custom-light: #af75d5; $custom-dark: #000000;
JSON
{
"hex": "#8738c2",
"rgb": {
"r": 135,
"g": 56,
"b": 194
},
"hsl": {
"h": 274.348,
"s": 55.2,
"l": 49.02
},
"oklch": {
"l": 0.51692,
"c": 0.20601,
"h": 306.6
},
"luminance": 0.11874
}Semantic roles & 50–950 ramp
primary
#8738C2
secondary
#A6CB8A
accent
#DF4989
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83