#7F45E6#7F45E6
#7F45E6 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.1% C 0.228 H 294.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #7F45E6 |
|---|---|
| RGB | rgb(127, 69, 230) |
| HSL | hsl(262, 76%, 59%) |
| HSV | hsv(262, 70%, 90%) |
| CMYK | cmyk(44.8%, 70%, 0%, 9.8%) |
| CIE-LAB | lab(44.91, 58.48, -72.63) |
| CIE-LCH | lch(44.91, 93.25, 308.84°) |
| OKLab | oklab(55.1% 0.0931 -0.208) |
| OKLCH | oklch(55.1% 0.228 294.1) |
| XYZ | xyz(25.1596, 14.4807, 76.3170) |
| Luminance | 0.1448 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.29
Purpley
#8756E4
ΔE00 4.32
Blueviolet
#8A2BE2
ΔE00 4.45
Purpleish Blue
#6140EF
ΔE00 4.59
Burple
#6832E3
ΔE00 5.52
Purpley Blue
#5F34E7
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F45E6 #ACE645
analogous
#455BE6 #7F45E6 #CF45E6
triadic
#7F45E6 #E67F45 #45E67F
tetradic
#7F45E6 #E6455B #ACE645 #45E6CF
square
#7F45E6 #E6455B #ACE645 #45E6CF
split-complementary
#7F45E6 #E6CF45 #5BE645
monochromatic
#45159C #5E1CD2 #7F45E6 #A47BED #C9B1F5
Accessibility & contrast
On white
5.39
#7F45E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#7F45E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F45E6
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F45E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F45E6 | 1.00 | 5.39 | 3.90 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CEB
Deuteranopia (green-blind)
#0067E3
Tritanopia (blue-blind)
#616E91
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7f45e6; /* rgb */ color: rgb(127, 69, 230); /* oklch */ color: oklch(55.1% 0.228 294.1);
Tailwind
colors: {
custom: {
50: '#ac7def',
500: '#7f45e6',
950: '#000000',
},
}SCSS
$custom: #7f45e6; $custom-light: #ac7def; $custom-dark: #000000;
JSON
{
"hex": "#7f45e6",
"rgb": {
"r": 127,
"g": 69,
"b": 230
},
"hsl": {
"h": 261.615,
"s": 76.303,
"l": 58.627
},
"oklch": {
"l": 0.55101,
"c": 0.22786,
"h": 294.1
},
"luminance": 0.14481
}Semantic roles & 50–950 ramp
primary
#7F45E6
secondary
#CCE3A4
accent
#F335AE
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85