#795CD8#795CD8
#795CD8 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.8% C 0.182 H 290.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #795CD8 |
|---|---|
| RGB | rgb(121, 92, 216) |
| HSL | hsl(254, 61%, 60%) |
| HSV | hsv(254, 57%, 85%) |
| CMYK | cmyk(44%, 57.4%, 0%, 15.3%) |
| CIE-LAB | lab(47.85, 41.27, -59.94) |
| CIE-LCH | lch(47.85, 72.78, 304.55°) |
| OKLab | oklab(56.77% 0.0627 -0.1709) |
| OKLCH | oklch(56.77% 0.182 290.1) |
| XYZ | xyz(24.1035, 16.6763, 66.9013) |
| Luminance | 0.1668 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.58
Slate Blue
#6A5ACD
ΔE00 3.18
Purpley
#8756E4
ΔE00 3.22
Dark Periwinkle
#665FD1
ΔE00 3.84
Mediumslateblue
#7B68EE
ΔE00 4.97
Iris
#6258C4
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795CD8 #BBD85C
analogous
#5C7DD8 #795CD8 #B75CD8
triadic
#795CD8 #D8795C #5CD879
tetradic
#795CD8 #D85C7D #BBD85C #5CD8B7
square
#795CD8 #D85C7D #BBD85C #5CD8B7
split-complementary
#795CD8 #D8B75C #7DD85C
monochromatic
#3E2496 #5330C7 #795CD8 #A28DE4 #CABFF0
Accessibility & contrast
On white
4.84
#795CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#795CD8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795CD8
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795CD8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795CD8 | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0474DC
Deuteranopia (green-blind)
#116FD5
Tritanopia (blue-blind)
#5D7791
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #795cd8; /* rgb */ color: rgb(121, 92, 216); /* oklch */ color: oklch(56.8% 0.182 290.1);
Tailwind
colors: {
custom: {
50: '#a68be5',
500: '#795cd8',
950: '#000000',
},
}SCSS
$custom: #795cd8; $custom-light: #a68be5; $custom-dark: #000000;
JSON
{
"hex": "#795cd8",
"rgb": {
"r": 121,
"g": 92,
"b": 216
},
"hsl": {
"h": 254.032,
"s": 61.386,
"l": 60.392
},
"oklch": {
"l": 0.56767,
"c": 0.18204,
"h": 290.1
},
"luminance": 0.16677
}Semantic roles & 50–950 ramp
primary
#795CD8
secondary
#D5E0B0
accent
#C91CA1
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84