#795BDB#795BDB
#795BDB is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.8% C 0.187 H 289.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #795BDB |
|---|---|
| RGB | rgb(121, 91, 219) |
| HSL | hsl(254, 64%, 61%) |
| HSV | hsv(254, 58%, 86%) |
| CMYK | cmyk(44.7%, 58.4%, 0%, 14.1%) |
| CIE-LAB | lab(47.83, 42.69, -61.68) |
| CIE-LCH | lch(47.83, 75.01, 304.68°) |
| OKLab | oklab(56.82% 0.0638 -0.176) |
| OKLCH | oklch(56.82% 0.187 289.9) |
| XYZ | xyz(24.4088, 16.6607, 68.9339) |
| Luminance | 0.1666 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.75
Purpley
#8756E4
ΔE00 2.94
Slate Blue
#6A5ACD
ΔE00 3.36
Dark Periwinkle
#665FD1
ΔE00 4.02
Mediumslateblue
#7B68EE
ΔE00 4.91
Iris
#6258C4
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795BDB #BDDB5B
analogous
#5B7DDB #795BDB #B95BDB
triadic
#795BDB #DB795B #5BDB79
tetradic
#795BDB #DB5B7D #BDDB5B #5BDBB9
square
#795BDB #DB5B7D #BDDB5B #5BDBB9
split-complementary
#795BDB #DBB95B #7DDB5B
monochromatic
#3E229A #522DCC #795BDB #A28DE6 #CBBFF1
Accessibility & contrast
On white
4.85
#795BDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#795BDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795BDB
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795BDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795BDB | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#006FD8
Tritanopia (blue-blind)
#5B7892
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #795bdb; /* rgb */ color: rgb(121, 91, 219); /* oklch */ color: oklch(56.8% 0.187 289.9);
Tailwind
colors: {
custom: {
50: '#a68ae7',
500: '#795bdb',
950: '#000000',
},
}SCSS
$custom: #795bdb; $custom-light: #a68ae7; $custom-dark: #000000;
JSON
{
"hex": "#795bdb",
"rgb": {
"r": 121,
"g": 91,
"b": 219
},
"hsl": {
"h": 254.063,
"s": 64,
"l": 60.784
},
"oklch": {
"l": 0.56816,
"c": 0.18721,
"h": 289.9
},
"luminance": 0.16662
}Semantic roles & 50–950 ramp
primary
#795BDB
secondary
#D6E1B1
accent
#CC1AA2
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84