#795ADB#795ADB
#795ADB is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.7% C 0.189 H 290.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #795ADB |
|---|---|
| RGB | rgb(121, 90, 219) |
| HSL | hsl(254, 64%, 61%) |
| HSV | hsv(254, 59%, 86%) |
| CMYK | cmyk(44.7%, 58.9%, 0%, 14.1%) |
| CIE-LAB | lab(47.61, 43.25, -62.03) |
| CIE-LCH | lch(47.61, 75.63, 304.89°) |
| OKLab | oklab(56.66% 0.0649 -0.1771) |
| OKLCH | oklch(56.66% 0.189 290.1) |
| XYZ | xyz(24.3239, 16.4909, 68.9055) |
| Luminance | 0.1649 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.73
Purpley
#8756E4
ΔE00 2.84
Slate Blue
#6A5ACD
ΔE00 3.34
Dark Periwinkle
#665FD1
ΔE00 4.12
Mediumslateblue
#7B68EE
ΔE00 5.15
Iris
#6258C4
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795ADB #BCDB5A
analogous
#5A7BDB #795ADB #BA5ADB
triadic
#795ADB #DB795A #5ADB79
tetradic
#795ADB #DB5A7B #BCDB5A #5ADBBA
square
#795ADB #DB5A7B #BCDB5A #5ADBBA
split-complementary
#795ADB #DBBA5A #7BDB5A
monochromatic
#3E2199 #532CCB #795ADB #A28CE6 #CBBEF1
Accessibility & contrast
On white
4.89
#795ADB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#795ADB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795ADB
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795ADB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795ADB | 1.00 | 4.89 | 4.30 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#5B7792
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #795adb; /* rgb */ color: rgb(121, 90, 219); /* oklch */ color: oklch(56.7% 0.189 290.1);
Tailwind
colors: {
custom: {
50: '#a68ae7',
500: '#795adb',
950: '#000000',
},
}SCSS
$custom: #795adb; $custom-light: #a68ae7; $custom-dark: #000000;
JSON
{
"hex": "#795adb",
"rgb": {
"r": 121,
"g": 90,
"b": 219
},
"hsl": {
"h": 254.419,
"s": 64.179,
"l": 60.588
},
"oklch": {
"l": 0.56656,
"c": 0.18856,
"h": 290.1
},
"luminance": 0.16492
}Semantic roles & 50–950 ramp
primary
#795ADB
secondary
#D5E1B0
accent
#CC1AA1
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84