#7338CD#7338CD
#7338CD is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.3% C 0.214 H 295.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7338CD |
|---|---|
| RGB | rgb(115, 56, 205) |
| HSL | hsl(264, 60%, 51%) |
| HSV | hsv(264, 73%, 80%) |
| CMYK | cmyk(43.9%, 72.7%, 0%, 19.6%) |
| CIE-LAB | lab(39.38, 56.20, -67.41) |
| CIE-LCH | lch(39.38, 87.76, 309.82°) |
| OKLab | oklab(50.25% 0.0929 -0.193) |
| OKLCH | oklch(50.25% 0.214 295.7) |
| XYZ | xyz(19.5009, 10.8805, 58.8185) |
| Luminance | 0.1088 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Burple
#6832E3
ΔE00 3.32
Bluey Purple
#6241C7
ΔE00 3.33
Bluish Purple
#703BE7
ΔE00 3.63
Purpley Blue
#5F34E7
ΔE00 4.32
Blueviolet
#8A2BE2
ΔE00 4.34
Blurple
#5539CC
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7338CD #92CD38
analogous
#3847CD #7338CD #BD38CD
triadic
#7338CD #CD7338 #38CD73
tetradic
#7338CD #CD3847 #92CD38 #38CDBD
square
#7338CD #CD3847 #92CD38 #38CDBD
split-complementary
#7338CD #CDBD38 #47CD38
monochromatic
#3D1C6F #5728A0 #7338CD #9569D9 #B89AE6
Accessibility & contrast
On white
6.61
#7338CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#7338CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7338CD
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7338CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7338CD | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ED1
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#5A5F7F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7338cd; /* rgb */ color: rgb(115, 56, 205); /* oklch */ color: oklch(50.3% 0.214 295.7);
Tailwind
colors: {
custom: {
50: '#a374dd',
500: '#7338cd',
950: '#000000',
},
}SCSS
$custom: #7338cd; $custom-light: #a374dd; $custom-dark: #000000;
JSON
{
"hex": "#7338cd",
"rgb": {
"r": 115,
"g": 56,
"b": 205
},
"hsl": {
"h": 263.758,
"s": 59.839,
"l": 51.176
},
"oklch": {
"l": 0.50252,
"c": 0.21418,
"h": 295.7
},
"luminance": 0.10881
}Semantic roles & 50–950 ramp
primary
#7338CD
secondary
#B7D18F
accent
#E345A4
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83