#7240C3#7240C3
#7240C3 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.3% C 0.193 H 296.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #7240C3 |
|---|---|
| RGB | rgb(114, 64, 195) |
| HSL | hsl(263, 52%, 51%) |
| HSV | hsv(263, 67%, 76%) |
| CMYK | cmyk(41.5%, 67.2%, 0%, 23.5%) |
| CIE-LAB | lab(39.89, 49.50, -60.77) |
| CIE-LCH | lch(39.89, 78.37, 309.16°) |
| OKLab | oklab(50.35% 0.0856 -0.1735) |
| OKLCH | oklch(50.35% 0.193 296.3) |
| XYZ | xyz(18.6206, 11.1839, 52.7968) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.88
Bluish Purple
#703BE7
ΔE00 4.80
Burple
#6832E3
ΔE00 4.97
Blurple
#5539CC
ΔE00 5.07
Blue With A Hint Of Purple
#533CC6
ΔE00 5.16
Blueviolet
#8A2BE2
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7240C3 #91C340
analogous
#404FC3 #7240C3 #B340C3
triadic
#7240C3 #C37240 #40C372
tetradic
#7240C3 #C3404F #91C340 #40C3B3
square
#7240C3 #C3404F #91C340 #40C3B3
split-complementary
#7240C3 #C3B340 #4FC340
monochromatic
#3C2168 #572F97 #7240C3 #946FD2 #B79DE0
Accessibility & contrast
On white
6.49
#7240C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#7240C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7240C3
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7240C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7240C3 | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#5D5F7C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7240c3; /* rgb */ color: rgb(114, 64, 195); /* oklch */ color: oklch(50.3% 0.193 296.3);
Tailwind
colors: {
custom: {
50: '#a178d6',
500: '#7240c3',
950: '#000000',
},
}SCSS
$custom: #7240c3; $custom-light: #a178d6; $custom-dark: #000000;
JSON
{
"hex": "#7240c3",
"rgb": {
"r": 114,
"g": 64,
"b": 195
},
"hsl": {
"h": 262.901,
"s": 52.191,
"l": 50.784
},
"oklch": {
"l": 0.50345,
"c": 0.19349,
"h": 296.3
},
"luminance": 0.11184
}Semantic roles & 50–950 ramp
primary
#7240C3
secondary
#B6CC92
accent
#DC4CA5
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83