#795BE4#795BE4
#795BE4 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.5% C 0.199 H 288.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #795BE4 |
|---|---|
| RGB | rgb(121, 91, 228) |
| HSL | hsl(253, 72%, 63%) |
| HSV | hsv(253, 60%, 89%) |
| CMYK | cmyk(46.9%, 60.1%, 0%, 10.6%) |
| CIE-LAB | lab(48.45, 45.23, -65.79) |
| CIE-LCH | lch(48.45, 79.83, 304.51°) |
| OKLab | oklab(57.46% 0.0634 -0.1881) |
| OKLCH | oklch(57.46% 0.199 288.6) |
| XYZ | xyz(25.6258, 17.1475, 75.3433) |
| Luminance | 0.1715 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.77
Light Indigo
#6D5ACF
ΔE00 3.65
Mediumslateblue
#7B68EE
ΔE00 4.19
Slate Blue
#6A5ACD
ΔE00 4.20
Dark Periwinkle
#665FD1
ΔE00 4.50
Iris
#6258C4
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795BE4 #C6E45B
analogous
#5B81E4 #795BE4 #BE5BE4
triadic
#795BE4 #E4795B #5BE479
tetradic
#795BE4 #E45B81 #C6E45B #5BE4BE
square
#795BE4 #E45B81 #C6E45B #5BE4BE
split-complementary
#795BE4 #E4BE5B #81E45B
monochromatic
#3B1CA9 #4E26DB #795BE4 #A490ED #CFC4F5
Accessibility & contrast
On white
4.74
#795BE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#795BE4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795BE4
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795BE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795BE4 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#0070E1
Tritanopia (blue-blind)
#567B97
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #795be4; /* rgb */ color: rgb(121, 91, 228); /* oklch */ color: oklch(57.5% 0.199 288.6);
Tailwind
colors: {
custom: {
50: '#a78bed',
500: '#795be4',
950: '#000000',
},
}SCSS
$custom: #795be4; $custom-light: #a78bed; $custom-dark: #000000;
JSON
{
"hex": "#795be4",
"rgb": {
"r": 121,
"g": 91,
"b": 228
},
"hsl": {
"h": 253.139,
"s": 71.728,
"l": 62.549
},
"oklch": {
"l": 0.57462,
"c": 0.1985,
"h": 288.6
},
"luminance": 0.17149
}Semantic roles & 50–950 ramp
primary
#795BE4
secondary
#DBE6B4
accent
#D412A9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84