#795BBF#795BBF
#795BBF is a mid, vivid violet. Relative luminance 0.153; OKLCH L 54.9% C 0.151 H 294.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #795BBF |
|---|---|
| RGB | rgb(121, 91, 191) |
| HSL | hsl(258, 44%, 55%) |
| HSV | hsv(258, 52%, 75%) |
| CMYK | cmyk(36.6%, 52.4%, 0%, 25.1%) |
| CIE-LAB | lab(46.05, 34.93, -48.46) |
| CIE-LCH | lch(46.05, 59.74, 305.78°) |
| OKLab | oklab(54.94% 0.0633 -0.1372) |
| OKLCH | oklch(54.94% 0.151 294.8) |
| XYZ | xyz(21.0278, 15.3083, 51.1270) |
| Luminance | 0.1531 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.80
Slate Blue
#6A5ACD
ΔE00 4.05
Royal Purple
#7851A9
ΔE00 4.81
Iris
#6258C4
ΔE00 4.87
Deep Lavender
#8D5EB7
ΔE00 5.20
Dark Periwinkle
#665FD1
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795BBF #A1BF5B
analogous
#5B6FBF #795BBF #AB5BBF
triadic
#795BBF #BF795B #5BBF79
tetradic
#795BBF #BF5B6F #A1BF5B #5BBFAB
square
#795BBF #BF5B6F #A1BF5B #5BBFAB
split-complementary
#795BBF #BFAB5B #6FBF5B
monochromatic
#422D73 #5B3E9F #795BBF #9D87D0 #C1B3E1
Accessibility & contrast
On white
5.17
#795BBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#795BBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795BBF
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795BBF | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#336EC2
Deuteranopia (green-blind)
#396CBD
Tritanopia (blue-blind)
#686F84
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #795bbf; /* rgb */ color: rgb(121, 91, 191); /* oklch */ color: oklch(54.9% 0.151 294.8);
Tailwind
colors: {
custom: {
50: '#a38ad3',
500: '#795bbf',
950: '#000000',
},
}SCSS
$custom: #795bbf; $custom-light: #a38ad3; $custom-dark: #000000;
JSON
{
"hex": "#795bbf",
"rgb": {
"r": 121,
"g": 91,
"b": 191
},
"hsl": {
"h": 258,
"s": 43.86,
"l": 55.294
},
"oklch": {
"l": 0.54936,
"c": 0.15106,
"h": 294.8
},
"luminance": 0.15309
}Semantic roles & 50–950 ramp
primary
#795BBF
secondary
#C3D0A6
accent
#D454AD
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83