#7338B6#7338B6
#7338B6 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.4% C 0.189 H 301.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #7338B6 |
|---|---|
| RGB | rgb(115, 56, 182) |
| HSL | hsl(268, 53%, 47%) |
| HSV | hsv(268, 69%, 71%) |
| CMYK | cmyk(36.8%, 69.2%, 0%, 28.6%) |
| CIE-LAB | lab(37.57, 50.39, -56.89) |
| CIE-LCH | lch(37.57, 76.00, 311.53°) |
| OKLab | oklab(48.41% 0.0972 -0.1621) |
| OKLCH | oklch(48.41% 0.189 301) |
| XYZ | xyz(16.9259, 9.8505, 45.2565) |
| Luminance | 0.0985 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.69
Rebeccapurple
#663399
ΔE00 4.92
Blurple
#5539CC
ΔE00 6.04
Blue With A Hint Of Purple
#533CC6
ΔE00 6.11
Purple Blue
#5D21D0
ΔE00 6.37
Burple
#6832E3
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7338B6 #7BB638
analogous
#383CB6 #7338B6 #B238B6
triadic
#7338B6 #B67338 #38B673
tetradic
#7338B6 #B6383C #7BB638 #38B6B2
square
#7338B6 #B6383C #7BB638 #38B6B2
split-complementary
#7338B6 #B6B238 #3CB638
monochromatic
#381B58 #552A87 #7338B6 #925ECD #B28DDC
Accessibility & contrast
On white
7.07
#7338B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#7338B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7338B6
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7338B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7338B6 | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#0058B3
Tritanopia (blue-blind)
#645673
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #7338b6; /* rgb */ color: rgb(115, 56, 182); /* oklch */ color: oklch(48.4% 0.189 301.0);
Tailwind
colors: {
custom: {
50: '#a173cd',
500: '#7338b6',
950: '#000000',
},
}SCSS
$custom: #7338b6; $custom-light: #a173cd; $custom-dark: #000000;
JSON
{
"hex": "#7338b6",
"rgb": {
"r": 115,
"g": 56,
"b": 182
},
"hsl": {
"h": 268.095,
"s": 52.941,
"l": 46.667
},
"oklch": {
"l": 0.48407,
"c": 0.189,
"h": 301
},
"luminance": 0.09851
}Semantic roles & 50–950 ramp
primary
#7338B6
secondary
#A7C684
accent
#DC4B99
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82