#8638C2#8638C2
#8638C2 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.6% C 0.206 H 306.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #8638C2 |
|---|---|
| RGB | rgb(134, 56, 194) |
| HSL | hsl(274, 55%, 49%) |
| HSV | hsv(274, 71%, 76%) |
| CMYK | cmyk(30.9%, 71.1%, 0%, 23.9%) |
| CIE-LAB | lab(40.88, 56.99, -58.46) |
| CIE-LCH | lch(40.88, 81.64, 314.27°) |
| OKLab | oklab(51.57% 0.1216 -0.166) |
| OKLCH | oklch(51.57% 0.206 306.2) |
| XYZ | xyz(20.9812, 11.7919, 52.1992) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.37
Blueviolet
#8A2BE2
ΔE00 4.37
Darkviolet
#9400D3
ΔE00 4.82
Purply
#983FB2
ΔE00 5.38
Violet (survey)
#9A0EEA
ΔE00 5.93
Bluish Purple
#703BE7
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8638C2 #74C238
analogous
#4138C2 #8638C2 #C238B9
triadic
#8638C2 #C28638 #38C286
tetradic
#8638C2 #C24138 #74C238 #38B9C2
square
#8638C2 #C24138 #74C238 #38B9C2
split-complementary
#8638C2 #B9C238 #38C241
monochromatic
#441D63 #652A93 #8638C2 #A365D2 #BF94E0
Accessibility & contrast
On white
6.25
#8638C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#8638C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8638C2
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8638C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8638C2 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#7C5879
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8638c2; /* rgb */ color: rgb(134, 56, 194); /* oklch */ color: oklch(51.6% 0.206 306.2);
Tailwind
colors: {
custom: {
50: '#ae75d5',
500: '#8638c2',
950: '#000000',
},
}SCSS
$custom: #8638c2; $custom-light: #ae75d5; $custom-dark: #000000;
JSON
{
"hex": "#8638c2",
"rgb": {
"r": 134,
"g": 56,
"b": 194
},
"hsl": {
"h": 273.913,
"s": 55.2,
"l": 49.02
},
"oklch": {
"l": 0.5157,
"c": 0.20576,
"h": 306.2
},
"luminance": 0.11792
}Semantic roles & 50–950 ramp
primary
#8638C2
secondary
#A7CB8A
accent
#DF498A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83