#7638B9#7638B9
#7638B9 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.0% C 0.193 H 301.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7638B9 |
|---|---|
| RGB | rgb(118, 56, 185) |
| HSL | hsl(269, 54%, 47%) |
| HSV | hsv(269, 70%, 73%) |
| CMYK | cmyk(36.2%, 69.7%, 0%, 27.5%) |
| CIE-LAB | lab(38.17, 51.72, -57.68) |
| CIE-LCH | lch(38.17, 77.47, 311.88°) |
| OKLab | oklab(48.98% 0.101 -0.1643) |
| OKLCH | oklch(48.98% 0.193 301.6) |
| XYZ | xyz(17.6402, 10.1826, 46.9256) |
| Luminance | 0.1018 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.78
Rebeccapurple
#663399
ΔE00 5.49
Blueviolet
#8A2BE2
ΔE00 6.05
Burple
#6832E3
ΔE00 6.20
Blurple
#5539CC
ΔE00 6.22
Darkorchid
#9932CC
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7638B9 #7BB938
analogous
#383BB9 #7638B9 #B638B9
triadic
#7638B9 #B97638 #38B976
tetradic
#7638B9 #B9383B #7BB938 #38B9B6
square
#7638B9 #B9383B #7BB938 #38B9B6
split-complementary
#7638B9 #B9B638 #3BB938
monochromatic
#3A1C5B #582A8A #7638B9 #955FCF #B48EDD
Accessibility & contrast
On white
6.92
#7638B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#7638B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7638B9
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7638B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7638B9 | 1.00 | 6.92 | 3.04 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#0059B6
Tritanopia (blue-blind)
#685774
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #7638b9; /* rgb */ color: rgb(118, 56, 185); /* oklch */ color: oklch(49.0% 0.193 301.6);
Tailwind
colors: {
custom: {
50: '#a373cf',
500: '#7638b9',
950: '#000000',
},
}SCSS
$custom: #7638b9; $custom-light: #a373cf; $custom-dark: #000000;
JSON
{
"hex": "#7638b9",
"rgb": {
"r": 118,
"g": 56,
"b": 185
},
"hsl": {
"h": 268.837,
"s": 53.527,
"l": 47.255
},
"oklch": {
"l": 0.48984,
"c": 0.19283,
"h": 301.6
},
"luminance": 0.10183
}Semantic roles & 50–950 ramp
primary
#7638B9
secondary
#A8C885
accent
#DD4B97
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82