#7145E2#7145E2
#7145E2 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.4% C 0.223 H 289.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7145E2 |
|---|---|
| RGB | rgb(113, 69, 226) |
| HSL | hsl(257, 73%, 58%) |
| HSV | hsv(257, 69%, 89%) |
| CMYK | cmyk(50%, 69.5%, 0%, 11.4%) |
| CIE-LAB | lab(43.15, 55.09, -73.31) |
| CIE-LCH | lch(43.15, 91.70, 306.93°) |
| OKLab | oklab(53.41% 0.0744 -0.2104) |
| OKLCH | oklch(53.41% 0.223 289.5) |
| XYZ | xyz(22.6617, 13.2570, 73.3015) |
| Luminance | 0.1326 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 2.01
Purpleish Blue
#6140EF
ΔE00 2.75
Burple
#6832E3
ΔE00 4.07
Purpley Blue
#5F34E7
ΔE00 4.34
Bluey Purple
#6241C7
ΔE00 4.57
Blueviolet
#8A2BE2
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7145E2 #B6E245
analogous
#4568E2 #7145E2 #BF45E2
triadic
#7145E2 #E27145 #45E271
tetradic
#7145E2 #E24568 #B6E245 #45E2BF
square
#7145E2 #E24568 #B6E245 #45E2BF
split-complementary
#7145E2 #E2BF45 #68E245
monochromatic
#3B1795 #4F20CA #7145E2 #997AEA #C2AFF3
Accessibility & contrast
On white
5.75
#7145E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#7145E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7145E2
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7145E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7145E2 | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#0062DF
Tritanopia (blue-blind)
#496E8F
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7145e2; /* rgb */ color: rgb(113, 69, 226); /* oklch */ color: oklch(53.4% 0.223 289.5);
Tailwind
colors: {
custom: {
50: '#a37cec',
500: '#7145e2',
950: '#000000',
},
}SCSS
$custom: #7145e2; $custom-light: #a37cec; $custom-dark: #000000;
JSON
{
"hex": "#7145e2",
"rgb": {
"r": 113,
"g": 69,
"b": 226
},
"hsl": {
"h": 256.815,
"s": 73.023,
"l": 57.843
},
"oklch": {
"l": 0.53409,
"c": 0.22319,
"h": 289.5
},
"luminance": 0.13258
}Semantic roles & 50–950 ramp
primary
#7145E2
secondary
#CFE1A2
accent
#F038BC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84