#7338C3#7338C3
#7338C3 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.4% C 0.203 H 297.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7338C3 |
|---|---|
| RGB | rgb(115, 56, 195) |
| HSL | hsl(265, 55%, 49%) |
| HSV | hsv(265, 71%, 76%) |
| CMYK | cmyk(41%, 71.3%, 0%, 23.5%) |
| CIE-LAB | lab(38.57, 53.66, -62.90) |
| CIE-LCH | lch(38.57, 82.68, 310.47°) |
| OKLab | oklab(49.43% 0.095 -0.1797) |
| OKLCH | oklch(49.43% 0.203 297.9) |
| XYZ | xyz(18.3322, 10.4130, 52.6632) |
| Luminance | 0.1041 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.58
Burple
#6832E3
ΔE00 4.56
Blurple
#5539CC
ΔE00 4.94
Bluish Purple
#703BE7
ΔE00 5.03
Blueviolet
#8A2BE2
ΔE00 5.19
Blue With A Hint Of Purple
#533CC6
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7338C3 #88C338
analogous
#3843C3 #7338C3 #B938C3
triadic
#7338C3 #C37338 #38C373
tetradic
#7338C3 #C33843 #88C338 #38C3B9
square
#7338C3 #C33843 #88C338 #38C3B9
split-complementary
#7338C3 #C3B938 #43C338
monochromatic
#3B1D64 #572A93 #7338C3 #9465D3 #B595E1
Accessibility & contrast
On white
6.81
#7338C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#7338C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7338C3
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7338C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7338C3 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#5F5B7A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #7338c3; /* rgb */ color: rgb(115, 56, 195); /* oklch */ color: oklch(49.4% 0.203 297.9);
Tailwind
colors: {
custom: {
50: '#a274d6',
500: '#7338c3',
950: '#000000',
},
}SCSS
$custom: #7338c3; $custom-light: #a274d6; $custom-dark: #000000;
JSON
{
"hex": "#7338c3",
"rgb": {
"r": 115,
"g": 56,
"b": 195
},
"hsl": {
"h": 265.468,
"s": 55.378,
"l": 49.216
},
"oklch": {
"l": 0.49432,
"c": 0.2033,
"h": 297.9
},
"luminance": 0.10413
}Semantic roles & 50–950 ramp
primary
#7338C3
secondary
#B0CC8B
accent
#DF499F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83