#795FD2#795FD2
#795FD2 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.9% C 0.170 H 290.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #795FD2 |
|---|---|
| RGB | rgb(121, 95, 210) |
| HSL | hsl(254, 56%, 60%) |
| HSV | hsv(254, 55%, 82%) |
| CMYK | cmyk(42.4%, 54.8%, 0%, 17.6%) |
| CIE-LAB | lab(48.14, 37.85, -56.06) |
| CIE-LCH | lch(48.14, 67.64, 304.02°) |
| OKLab | oklab(56.86% 0.0592 -0.1595) |
| OKLCH | oklch(56.86% 0.17 290.4) |
| XYZ | xyz(23.6070, 16.9017, 62.9788) |
| Luminance | 0.1690 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.67
Slate Blue
#6A5ACD
ΔE00 3.18
Dark Periwinkle
#665FD1
ΔE00 3.65
Purpley
#8756E4
ΔE00 4.10
Iris
#6258C4
ΔE00 5.01
Mediumslateblue
#7B68EE
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795FD2 #B8D25F
analogous
#5F7FD2 #795FD2 #B25FD2
triadic
#795FD2 #D2795F #5FD279
tetradic
#795FD2 #D25F7F #B8D25F #5FD2B2
square
#795FD2 #D25F7F #B8D25F #5FD2B2
split-complementary
#795FD2 #D2B25F #7FD25F
monochromatic
#3F288F #5436BE #795FD2 #A18FDF #C9BFED
Accessibility & contrast
On white
4.79
#795FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#795FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795FD2
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795FD2 | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2474D6
Deuteranopia (green-blind)
#2970CF
Tritanopia (blue-blind)
#60788F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #795fd2; /* rgb */ color: rgb(121, 95, 210); /* oklch */ color: oklch(56.9% 0.170 290.4);
Tailwind
colors: {
custom: {
50: '#a58de0',
500: '#795fd2',
950: '#000000',
},
}SCSS
$custom: #795fd2; $custom-light: #a58de0; $custom-dark: #000000;
JSON
{
"hex": "#795fd2",
"rgb": {
"r": 121,
"g": 95,
"b": 210
},
"hsl": {
"h": 253.565,
"s": 56.098,
"l": 59.804
},
"oklch": {
"l": 0.56855,
"c": 0.17009,
"h": 290.4
},
"luminance": 0.16903
}Semantic roles & 50–950 ramp
primary
#795FD2
secondary
#D3DDB0
accent
#DF48BD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83