#795FDC#795FDC
#795FDC is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.5% C 0.183 H 288.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #795FDC |
|---|---|
| RGB | rgb(121, 95, 220) |
| HSL | hsl(252, 64%, 62%) |
| HSV | hsv(252, 57%, 86%) |
| CMYK | cmyk(45%, 56.8%, 0%, 13.7%) |
| CIE-LAB | lab(48.78, 40.67, -60.72) |
| CIE-LCH | lch(48.78, 73.08, 303.82°) |
| OKLab | oklab(57.54% 0.0593 -0.1732) |
| OKLCH | oklch(57.54% 0.183 288.9) |
| XYZ | xyz(24.8920, 17.4157, 69.7463) |
| Luminance | 0.1742 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.20
Purpley
#8756E4
ΔE00 3.51
Slate Blue
#6A5ACD
ΔE00 3.73
Dark Periwinkle
#665FD1
ΔE00 3.83
Mediumslateblue
#7B68EE
ΔE00 3.88
Iris
#6258C4
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795FDC #C2DC5F
analogous
#5F84DC #795FDC #B85FDC
triadic
#795FDC #DC795F #5FDC79
tetradic
#795FDC #DC5F84 #C2DC5F #5FDCB8
square
#795FDC #DC5F84 #C2DC5F #5FDCB8
split-complementary
#795FDC #DCB85F #84DC5F
monochromatic
#3C239E #4F2ED0 #795FDC #A391E7 #CDC3F2
Accessibility & contrast
On white
4.68
#795FDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#795FDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795FDC
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795FDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795FDC | 1.00 | 4.68 | 4.48 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A77E0
Deuteranopia (green-blind)
#1171D9
Tritanopia (blue-blind)
#5A7B94
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #795fdc; /* rgb */ color: rgb(121, 95, 220); /* oklch */ color: oklch(57.5% 0.183 288.9);
Tailwind
colors: {
custom: {
50: '#a68de8',
500: '#795fdc',
950: '#000000',
},
}SCSS
$custom: #795fdc; $custom-light: #a68de8; $custom-dark: #000000;
JSON
{
"hex": "#795fdc",
"rgb": {
"r": 121,
"g": 95,
"b": 220
},
"hsl": {
"h": 252.48,
"s": 64.103,
"l": 61.765
},
"oklch": {
"l": 0.57536,
"c": 0.18302,
"h": 288.9
},
"luminance": 0.17417
}Semantic roles & 50–950 ramp
primary
#795FDC
secondary
#D9E3B4
accent
#CC1AA7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84