#7538C2#7538C2
#7538C2 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.6% C 0.202 H 299.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7538C2 |
|---|---|
| RGB | rgb(117, 56, 194) |
| HSL | hsl(267, 55%, 49%) |
| HSV | hsv(267, 71%, 76%) |
| CMYK | cmyk(39.7%, 71.1%, 0%, 23.9%) |
| CIE-LAB | lab(38.73, 53.77, -62.04) |
| CIE-LCH | lch(38.73, 82.10, 310.91°) |
| OKLab | oklab(49.58% 0.098 -0.1771) |
| OKLCH | oklch(49.58% 0.202 299) |
| XYZ | xyz(18.4854, 10.5051, 52.0822) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.91
Burple
#6832E3
ΔE00 4.86
Blueviolet
#8A2BE2
ΔE00 5.10
Bluish Purple
#703BE7
ΔE00 5.23
Blurple
#5539CC
ΔE00 5.34
Blue With A Hint Of Purple
#533CC6
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7538C2 #85C238
analogous
#3840C2 #7538C2 #BA38C2
triadic
#7538C2 #C27538 #38C275
tetradic
#7538C2 #C23840 #85C238 #38C2BA
square
#7538C2 #C23840 #85C238 #38C2BA
split-complementary
#7538C2 #C2BA38 #40C238
monochromatic
#3C1D63 #582A93 #7538C2 #9565D2 #B694E0
Accessibility & contrast
On white
6.77
#7538C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#7538C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7538C2
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7538C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7538C2 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#005ABF
Tritanopia (blue-blind)
#635A79
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #7538c2; /* rgb */ color: rgb(117, 56, 194); /* oklch */ color: oklch(49.6% 0.202 299.0);
Tailwind
colors: {
custom: {
50: '#a374d5',
500: '#7538c2',
950: '#000000',
},
}SCSS
$custom: #7538c2; $custom-light: #a374d5; $custom-dark: #000000;
JSON
{
"hex": "#7538c2",
"rgb": {
"r": 117,
"g": 56,
"b": 194
},
"hsl": {
"h": 266.522,
"s": 55.2,
"l": 49.02
},
"oklch": {
"l": 0.49575,
"c": 0.20246,
"h": 299
},
"luminance": 0.10505
}Semantic roles & 50–950 ramp
primary
#7538C2
secondary
#AFCB8A
accent
#DF499D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83