#795EE3#795EE3
#795EE3 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.9% C 0.193 H 288.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #795EE3 |
|---|---|
| RGB | rgb(121, 94, 227) |
| HSL | hsl(252, 70%, 63%) |
| HSV | hsv(252, 59%, 89%) |
| CMYK | cmyk(46.7%, 58.6%, 0%, 11%) |
| CIE-LAB | lab(49.03, 43.24, -64.28) |
| CIE-LCH | lch(49.03, 77.47, 303.93°) |
| OKLab | oklab(57.87% 0.0603 -0.1836) |
| OKLCH | oklch(57.87% 0.193 288.2) |
| XYZ | xyz(25.7490, 17.6153, 74.7015) |
| Luminance | 0.1762 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.23
Mediumslateblue
#7B68EE
ΔE00 3.47
Light Indigo
#6D5ACF
ΔE00 3.76
Slate Blue
#6A5ACD
ΔE00 4.28
Dark Periwinkle
#665FD1
ΔE00 4.28
Iris
#6258C4
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795EE3 #C8E35E
analogous
#5E86E3 #795EE3 #BB5EE3
triadic
#795EE3 #E3795E #5EE379
tetradic
#795EE3 #E35E86 #C8E35E #5EE3BB
square
#795EE3 #E35E86 #C8E35E #5EE3BB
split-complementary
#795EE3 #E3BB5E #86E35E
monochromatic
#3A1DA9 #4E2ADA #795EE3 #A492EC #D0C6F5
Accessibility & contrast
On white
4.64
#795EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#795EE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #795EE3
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795EE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795EE3 | 1.00 | 4.64 | 4.52 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#567C98
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #795ee3; /* rgb */ color: rgb(121, 94, 227); /* oklch */ color: oklch(57.9% 0.193 288.2);
Tailwind
colors: {
custom: {
50: '#a78ded',
500: '#795ee3',
950: '#000000',
},
}SCSS
$custom: #795ee3; $custom-light: #a78ded; $custom-dark: #000000;
JSON
{
"hex": "#795ee3",
"rgb": {
"r": 121,
"g": 94,
"b": 227
},
"hsl": {
"h": 252.18,
"s": 70.37,
"l": 62.941
},
"oklch": {
"l": 0.57866,
"c": 0.19328,
"h": 288.2
},
"luminance": 0.17616
}Semantic roles & 50–950 ramp
primary
#795EE3
secondary
#DDE6B6
accent
#D213AC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84