#795BDA#795BDA
#795BDA is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.7% C 0.186 H 290.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #795BDA |
|---|---|
| RGB | rgb(121, 91, 218) |
| HSL | hsl(254, 63%, 61%) |
| HSV | hsv(254, 58%, 85%) |
| CMYK | cmyk(44.5%, 58.3%, 0%, 14.5%) |
| CIE-LAB | lab(47.76, 42.40, -61.22) |
| CIE-LCH | lch(47.76, 74.47, 304.71°) |
| OKLab | oklab(56.75% 0.0638 -0.1747) |
| OKLCH | oklch(56.75% 0.186 290.1) |
| XYZ | xyz(24.2776, 16.6082, 68.2426) |
| Luminance | 0.1661 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.67
Purpley
#8756E4
ΔE00 2.99
Slate Blue
#6A5ACD
ΔE00 3.28
Dark Periwinkle
#665FD1
ΔE00 3.98
Mediumslateblue
#7B68EE
ΔE00 5.00
Iris
#6258C4
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795BDA #BCDA5B
analogous
#5B7CDA #795BDA #B85BDA
triadic
#795BDA #DA795B #5BDA79
tetradic
#795BDA #DA5B7C #BCDA5B #5BDAB8
square
#795BDA #DA5B7C #BCDA5B #5BDAB8
split-complementary
#795BDA #DAB85B #7CDA5B
monochromatic
#3E2298 #532ECA #795BDA #A28DE5 #CBBFF1
Accessibility & contrast
On white
4.86
#795BDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#795BDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795BDA
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795BDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795BDA | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074DE
Deuteranopia (green-blind)
#016ED7
Tritanopia (blue-blind)
#5C7792
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #795bda; /* rgb */ color: rgb(121, 91, 218); /* oklch */ color: oklch(56.7% 0.186 290.1);
Tailwind
colors: {
custom: {
50: '#a68ae6',
500: '#795bda',
950: '#000000',
},
}SCSS
$custom: #795bda; $custom-light: #a68ae6; $custom-dark: #000000;
JSON
{
"hex": "#795bda",
"rgb": {
"r": 121,
"g": 91,
"b": 218
},
"hsl": {
"h": 254.173,
"s": 63.184,
"l": 60.588
},
"oklch": {
"l": 0.56745,
"c": 0.18594,
"h": 290.1
},
"luminance": 0.16609
}Semantic roles & 50–950 ramp
primary
#795BDA
secondary
#D5E1B0
accent
#CB1BA1
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84