#795BE6#795BE6
#795BE6 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.6% C 0.201 H 288.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #795BE6 |
|---|---|
| RGB | rgb(121, 91, 230) |
| HSL | hsl(253, 74%, 63%) |
| HSV | hsv(253, 60%, 90%) |
| CMYK | cmyk(47.4%, 60.4%, 0%, 9.8%) |
| CIE-LAB | lab(48.59, 45.80, -66.69) |
| CIE-LCH | lch(48.59, 80.90, 304.48°) |
| OKLab | oklab(57.61% 0.0633 -0.1907) |
| OKLCH | oklch(57.61% 0.201 288.4) |
| XYZ | xyz(25.9051, 17.2592, 76.8140) |
| Luminance | 0.1726 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.80
Light Indigo
#6D5ACF
ΔE00 3.88
Mediumslateblue
#7B68EE
ΔE00 4.06
Slate Blue
#6A5ACD
ΔE00 4.41
Dark Periwinkle
#665FD1
ΔE00 4.64
Iris
#6258C4
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795BE6 #C8E65B
analogous
#5B82E6 #795BE6 #BF5BE6
triadic
#795BE6 #E6795B #5BE679
tetradic
#795BE6 #E65B82 #C8E65B #5BE6BF
square
#795BE6 #E65B82 #C8E65B #5BE6BF
split-complementary
#795BE6 #E6BF5B #82E65B
monochromatic
#3A1AAC #4E26DE #795BE6 #A490EE #D0C5F6
Accessibility & contrast
On white
4.72
#795BE6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#795BE6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795BE6
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795BE6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795BE6 | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076EA
Deuteranopia (green-blind)
#0070E3
Tritanopia (blue-blind)
#557B98
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #795be6; /* rgb */ color: rgb(121, 91, 230); /* oklch */ color: oklch(57.6% 0.201 288.4);
Tailwind
colors: {
custom: {
50: '#a78bef',
500: '#795be6',
950: '#000000',
},
}SCSS
$custom: #795be6; $custom-light: #a78bef; $custom-dark: #000000;
JSON
{
"hex": "#795be6",
"rgb": {
"r": 121,
"g": 91,
"b": 230
},
"hsl": {
"h": 252.95,
"s": 73.545,
"l": 62.941
},
"oklch": {
"l": 0.57609,
"c": 0.20098,
"h": 288.4
},
"luminance": 0.1726
}Semantic roles & 50–950 ramp
primary
#795BE6
secondary
#DDE7B5
accent
#D610AB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85