#795BE5#795BE5
#795BE5 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.5% C 0.200 H 288.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #795BE5 |
|---|---|
| RGB | rgb(121, 91, 229) |
| HSL | hsl(253, 73%, 63%) |
| HSV | hsv(253, 60%, 90%) |
| CMYK | cmyk(47.2%, 60.3%, 0%, 10.2%) |
| CIE-LAB | lab(48.52, 45.51, -66.24) |
| CIE-LCH | lch(48.52, 80.37, 304.49°) |
| OKLab | oklab(57.54% 0.0634 -0.1894) |
| OKLCH | oklch(57.54% 0.2 288.5) |
| XYZ | xyz(25.7650, 17.2032, 76.0765) |
| Luminance | 0.1720 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.78
Light Indigo
#6D5ACF
ΔE00 3.76
Mediumslateblue
#7B68EE
ΔE00 4.12
Slate Blue
#6A5ACD
ΔE00 4.30
Dark Periwinkle
#665FD1
ΔE00 4.57
Iris
#6258C4
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795BE5 #C7E55B
analogous
#5B82E5 #795BE5 #BE5BE5
triadic
#795BE5 #E5795B #5BE579
tetradic
#795BE5 #E55B82 #C7E55B #5BE5BE
square
#795BE5 #E55B82 #C7E55B #5BE5BE
split-complementary
#795BE5 #E5BE5B #82E55B
monochromatic
#3A1BAB #4E26DD #795BE5 #A490ED #CFC5F6
Accessibility & contrast
On white
4.73
#795BE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#795BE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795BE5
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795BE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795BE5 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#0070E2
Tritanopia (blue-blind)
#567B97
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #795be5; /* rgb */ color: rgb(121, 91, 229); /* oklch */ color: oklch(57.5% 0.200 288.5);
Tailwind
colors: {
custom: {
50: '#a78bee',
500: '#795be5',
950: '#000000',
},
}SCSS
$custom: #795be5; $custom-light: #a78bee; $custom-dark: #000000;
JSON
{
"hex": "#795be5",
"rgb": {
"r": 121,
"g": 91,
"b": 229
},
"hsl": {
"h": 253.043,
"s": 72.632,
"l": 62.745
},
"oklch": {
"l": 0.57535,
"c": 0.19974,
"h": 288.5
},
"luminance": 0.17204
}Semantic roles & 50–950 ramp
primary
#795BE5
secondary
#DCE7B5
accent
#D511AA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84