#795FD4#795FD4
#795FD4 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.0% C 0.173 H 290.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #795FD4 |
|---|---|
| RGB | rgb(121, 95, 212) |
| HSL | hsl(253, 58%, 60%) |
| HSV | hsv(253, 55%, 83%) |
| CMYK | cmyk(42.9%, 55.2%, 0%, 16.9%) |
| CIE-LAB | lab(48.26, 38.41, -57.00) |
| CIE-LCH | lch(48.26, 68.73, 303.98°) |
| OKLab | oklab(56.99% 0.0592 -0.1622) |
| OKLCH | oklch(56.99% 0.173 290) |
| XYZ | xyz(23.8577, 17.0020, 64.2993) |
| Luminance | 0.1700 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.71
Slate Blue
#6A5ACD
ΔE00 3.24
Dark Periwinkle
#665FD1
ΔE00 3.63
Purpley
#8756E4
ΔE00 3.95
Mediumslateblue
#7B68EE
ΔE00 4.80
Iris
#6258C4
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795FD4 #BAD45F
analogous
#5F80D4 #795FD4 #B35FD4
triadic
#795FD4 #D4795F #5FD479
tetradic
#795FD4 #D45F80 #BAD45F #5FD4B3
square
#795FD4 #D45F80 #BAD45F #5FD4B3
split-complementary
#795FD4 #D4B35F #80D45F
monochromatic
#3F2791 #5434C2 #795FD4 #A18FE1 #CABFEE
Accessibility & contrast
On white
4.77
#795FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#795FD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795FD4
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795FD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795FD4 | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2075D8
Deuteranopia (green-blind)
#2570D1
Tritanopia (blue-blind)
#5F7890
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #795fd4; /* rgb */ color: rgb(121, 95, 212); /* oklch */ color: oklch(57.0% 0.173 290.0);
Tailwind
colors: {
custom: {
50: '#a58de2',
500: '#795fd4',
950: '#000000',
},
}SCSS
$custom: #795fd4; $custom-light: #a58de2; $custom-dark: #000000;
JSON
{
"hex": "#795fd4",
"rgb": {
"r": 121,
"g": 95,
"b": 212
},
"hsl": {
"h": 253.333,
"s": 57.635,
"l": 60.196
},
"oklch": {
"l": 0.56989,
"c": 0.17269,
"h": 290
},
"luminance": 0.17003
}Semantic roles & 50–950 ramp
primary
#795FD4
secondary
#D4DEB1
accent
#C520A1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83