#795FC0#795FC0
#795FC0 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.7% C 0.146 H 293.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #795FC0 |
|---|---|
| RGB | rgb(121, 95, 192) |
| HSL | hsl(256, 43%, 56%) |
| HSV | hsv(256, 51%, 75%) |
| CMYK | cmyk(37%, 50.5%, 0%, 24.7%) |
| CIE-LAB | lab(47.05, 32.85, -47.46) |
| CIE-LCH | lch(47.05, 57.72, 304.69°) |
| OKLab | oklab(55.69% 0.0582 -0.1342) |
| OKLCH | oklch(55.69% 0.146 293.4) |
| XYZ | xyz(21.4893, 16.0547, 51.8256) |
| Luminance | 0.1605 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.92
Slate Blue
#6A5ACD
ΔE00 4.15
Dark Periwinkle
#665FD1
ΔE00 5.01
Iris
#6258C4
ΔE00 5.09
Deep Lavender
#8D5EB7
ΔE00 5.28
Royal Purple
#7851A9
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795FC0 #A6C05F
analogous
#5F76C0 #795FC0 #AA5FC0
triadic
#795FC0 #C0795F #5FC079
tetradic
#795FC0 #C05F76 #A6C05F #5FC0AA
square
#795FC0 #C05F76 #A6C05F #5FC0AA
split-complementary
#795FC0 #C0AA5F #76C05F
monochromatic
#422F76 #5A40A2 #795FC0 #9E8BD1 #C3B7E3
Accessibility & contrast
On white
4.99
#795FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#795FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795FC0
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795FC0 | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3971C3
Deuteranopia (green-blind)
#3E6EBE
Tritanopia (blue-blind)
#687286
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #795fc0; /* rgb */ color: rgb(121, 95, 192); /* oklch */ color: oklch(55.7% 0.146 293.4);
Tailwind
colors: {
custom: {
50: '#a38dd3',
500: '#795fc0',
950: '#000000',
},
}SCSS
$custom: #795fc0; $custom-light: #a38dd3; $custom-dark: #000000;
JSON
{
"hex": "#795fc0",
"rgb": {
"r": 121,
"g": 95,
"b": 192
},
"hsl": {
"h": 256.082,
"s": 43.498,
"l": 56.275
},
"oklch": {
"l": 0.55694,
"c": 0.14628,
"h": 293.4
},
"luminance": 0.16055
}Semantic roles & 50–950 ramp
primary
#795FC0
secondary
#C7D1A9
accent
#D355B1
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83