#795BE3#795BE3
#795BE3 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.4% C 0.197 H 288.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #795BE3 |
|---|---|
| RGB | rgb(121, 91, 227) |
| HSL | hsl(253, 71%, 62%) |
| HSV | hsv(253, 60%, 89%) |
| CMYK | cmyk(46.7%, 59.9%, 0%, 11%) |
| CIE-LAB | lab(48.38, 44.95, -65.33) |
| CIE-LCH | lch(48.38, 79.30, 304.53°) |
| OKLab | oklab(57.39% 0.0635 -0.1867) |
| OKLCH | oklch(57.39% 0.197 288.8) |
| XYZ | xyz(25.4874, 17.0921, 74.6143) |
| Luminance | 0.1709 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.76
Light Indigo
#6D5ACF
ΔE00 3.54
Slate Blue
#6A5ACD
ΔE00 4.09
Mediumslateblue
#7B68EE
ΔE00 4.25
Dark Periwinkle
#665FD1
ΔE00 4.43
Iris
#6258C4
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795BE3 #C5E35B
analogous
#5B81E3 #795BE3 #BD5BE3
triadic
#795BE3 #E3795B #5BE379
tetradic
#795BE3 #E35B81 #C5E35B #5BE3BD
square
#795BE3 #E35B81 #C5E35B #5BE3BD
split-complementary
#795BE3 #E3BD5B #81E35B
monochromatic
#3B1DA7 #4E27DA #795BE3 #A48FEC #CEC4F5
Accessibility & contrast
On white
4.75
#795BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#795BE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795BE3
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795BE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795BE3 | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#006FE0
Tritanopia (blue-blind)
#577A96
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #795be3; /* rgb */ color: rgb(121, 91, 227); /* oklch */ color: oklch(57.4% 0.197 288.8);
Tailwind
colors: {
custom: {
50: '#a78bed',
500: '#795be3',
950: '#000000',
},
}SCSS
$custom: #795be3; $custom-light: #a78bed; $custom-dark: #000000;
JSON
{
"hex": "#795be3",
"rgb": {
"r": 121,
"g": 91,
"b": 227
},
"hsl": {
"h": 253.235,
"s": 70.833,
"l": 62.353
},
"oklch": {
"l": 0.5739,
"c": 0.19724,
"h": 288.8
},
"luminance": 0.17093
}Semantic roles & 50–950 ramp
primary
#795BE3
secondary
#DBE6B4
accent
#D313A8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84