#795FD3#795FD3
#795FD3 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.9% C 0.171 H 290.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #795FD3 |
|---|---|
| RGB | rgb(121, 95, 211) |
| HSL | hsl(253, 57%, 60%) |
| HSV | hsv(253, 55%, 83%) |
| CMYK | cmyk(42.7%, 55%, 0%, 17.3%) |
| CIE-LAB | lab(48.20, 38.13, -56.53) |
| CIE-LCH | lch(48.20, 68.19, 304.00°) |
| OKLab | oklab(56.92% 0.0592 -0.1608) |
| OKLCH | oklch(56.92% 0.171 290.2) |
| XYZ | xyz(23.7320, 16.9517, 63.6370) |
| Luminance | 0.1695 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.69
Slate Blue
#6A5ACD
ΔE00 3.21
Dark Periwinkle
#665FD1
ΔE00 3.64
Purpley
#8756E4
ΔE00 4.02
Mediumslateblue
#7B68EE
ΔE00 4.93
Iris
#6258C4
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795FD3 #B9D35F
analogous
#5F7FD3 #795FD3 #B35FD3
triadic
#795FD3 #D3795F #5FD379
tetradic
#795FD3 #D35F7F #B9D35F #5FD3B3
square
#795FD3 #D35F7F #B9D35F #5FD3B3
split-complementary
#795FD3 #D3B35F #7FD35F
monochromatic
#3F2890 #5435C0 #795FD3 #A18FE0 #C9BFED
Accessibility & contrast
On white
4.78
#795FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#795FD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795FD3
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795FD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795FD3 | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2275D7
Deuteranopia (green-blind)
#2770D0
Tritanopia (blue-blind)
#5F7890
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #795fd3; /* rgb */ color: rgb(121, 95, 211); /* oklch */ color: oklch(56.9% 0.171 290.2);
Tailwind
colors: {
custom: {
50: '#a58de1',
500: '#795fd3',
950: '#000000',
},
}SCSS
$custom: #795fd3; $custom-light: #a58de1; $custom-dark: #000000;
JSON
{
"hex": "#795fd3",
"rgb": {
"r": 121,
"g": 95,
"b": 211
},
"hsl": {
"h": 253.448,
"s": 56.863,
"l": 60
},
"oklch": {
"l": 0.56922,
"c": 0.17139,
"h": 290.2
},
"luminance": 0.16953
}Semantic roles & 50–950 ramp
primary
#795FD3
secondary
#D3DDB1
accent
#E048BE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83