#795DC7#795DC7
#795DC7 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.8% C 0.159 H 292.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #795DC7 |
|---|---|
| RGB | rgb(121, 93, 199) |
| HSL | hsl(256, 49%, 57%) |
| HSV | hsv(256, 53%, 78%) |
| CMYK | cmyk(39.2%, 53.3%, 0%, 22%) |
| CIE-LAB | lab(47.00, 35.95, -51.58) |
| CIE-LCH | lch(47.00, 62.87, 304.88°) |
| OKLab | oklab(55.79% 0.0612 -0.1463) |
| OKLCH | oklch(55.79% 0.159 292.7) |
| XYZ | xyz(22.1056, 16.0166, 55.9486) |
| Luminance | 0.1602 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.91
Slate Blue
#6A5ACD
ΔE00 3.29
Dark Periwinkle
#665FD1
ΔE00 4.35
Iris
#6258C4
ΔE00 4.63
Purpley
#8756E4
ΔE00 5.03
Deep Lavender
#8D5EB7
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795DC7 #ABC75D
analogous
#5D76C7 #795DC7 #AE5DC7
triadic
#795DC7 #C7795D #5DC779
tetradic
#795DC7 #C75D76 #ABC75D #5DC7AE
square
#795DC7 #C75D76 #ABC75D #5DC7AE
split-complementary
#795DC7 #C7AE5D #76C75D
monochromatic
#412C7E #593BAC #795DC7 #9F8AD7 #C4B8E6
Accessibility & contrast
On white
5.00
#795DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#795DC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795DC7
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795DC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795DC7 | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E71CB
Deuteranopia (green-blind)
#346DC5
Tritanopia (blue-blind)
#657389
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #795dc7; /* rgb */ color: rgb(121, 93, 199); /* oklch */ color: oklch(55.8% 0.159 292.7);
Tailwind
colors: {
custom: {
50: '#a48bd9',
500: '#795dc7',
950: '#000000',
},
}SCSS
$custom: #795dc7; $custom-light: #a48bd9; $custom-dark: #000000;
JSON
{
"hex": "#795dc7",
"rgb": {
"r": 121,
"g": 93,
"b": 199
},
"hsl": {
"h": 255.849,
"s": 48.624,
"l": 57.255
},
"oklch": {
"l": 0.55791,
"c": 0.15859,
"h": 292.7
},
"luminance": 0.16017
}Semantic roles & 50–950 ramp
primary
#795DC7
secondary
#CAD5AA
accent
#D850B4
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C15
muted
#7F7D83