#9145E2#9145E2
#9145E2 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.7% C 0.226 H 301.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9145E2 |
|---|---|
| RGB | rgb(145, 69, 226) |
| HSL | hsl(269, 73%, 58%) |
| HSV | hsv(269, 69%, 89%) |
| CMYK | cmyk(35.8%, 69.5%, 0%, 11.4%) |
| CIE-LAB | lab(46.67, 60.70, -67.42) |
| CIE-LCH | lch(46.67, 90.72, 312.00°) |
| OKLab | oklab(56.71% 0.1184 -0.1921) |
| OKLCH | oklch(56.71% 0.226 301.7) |
| XYZ | xyz(27.5293, 15.7669, 73.5297) |
| Luminance | 0.1577 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.99
Blueviolet
#8A2BE2
ΔE00 4.76
Darkorchid
#9932CC
ΔE00 5.05
Electric Purple
#AA23FF
ΔE00 5.19
Lightish Purple
#A552E6
ΔE00 5.23
Violet (survey)
#9A0EEA
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9145E2 #96E245
analogous
#4547E2 #9145E2 #E045E2
triadic
#9145E2 #E29145 #45E291
tetradic
#9145E2 #E24547 #96E245 #45E2E0
square
#9145E2 #E24547 #96E245 #45E2E0
split-complementary
#9145E2 #E2E045 #47E245
monochromatic
#541795 #7220CA #9145E2 #B07AEA #D0AFF3
Accessibility & contrast
On white
5.06
#9145E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#9145E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9145E2
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9145E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9145E2 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#006EDF
Tritanopia (blue-blind)
#806A8F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #9145e2; /* rgb */ color: rgb(145, 69, 226); /* oklch */ color: oklch(56.7% 0.226 301.7);
Tailwind
colors: {
custom: {
50: '#b77eec',
500: '#9145e2',
950: '#000000',
},
}SCSS
$custom: #9145e2; $custom-light: #b77eec; $custom-dark: #000000;
JSON
{
"hex": "#9145e2",
"rgb": {
"r": 145,
"g": 69,
"b": 226
},
"hsl": {
"h": 269.045,
"s": 73.023,
"l": 57.843
},
"oklch": {
"l": 0.56714,
"c": 0.22565,
"h": 301.7
},
"luminance": 0.15767
}Semantic roles & 50–950 ramp
primary
#9145E2
secondary
#C2E1A2
accent
#F03897
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A16
muted
#817C84