#795BCD#795BCD
#795BCD is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.9% C 0.169 H 292.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #795BCD |
|---|---|
| RGB | rgb(121, 91, 205) |
| HSL | hsl(256, 53%, 58%) |
| HSV | hsv(256, 56%, 80%) |
| CMYK | cmyk(41%, 55.6%, 0%, 19.6%) |
| CIE-LAB | lab(46.91, 38.77, -55.16) |
| CIE-LCH | lch(46.91, 67.42, 305.10°) |
| OKLab | oklab(55.85% 0.0638 -0.1568) |
| OKLCH | oklch(55.85% 0.169 292.1) |
| XYZ | xyz(22.6427, 15.9543, 59.6323) |
| Luminance | 0.1595 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.38
Slate Blue
#6A5ACD
ΔE00 2.91
Dark Periwinkle
#665FD1
ΔE00 4.12
Purpley
#8756E4
ΔE00 4.13
Iris
#6258C4
ΔE00 4.55
Mediumslateblue
#7B68EE
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795BCD #AFCD5B
analogous
#5B76CD #795BCD #B25BCD
triadic
#795BCD #CD795B #5BCD79
tetradic
#795BCD #CD5B76 #AFCD5B #5BCDB2
square
#795BCD #CD5B76 #AFCD5B #5BCDB2
split-complementary
#795BCD #CDB25B #76CD5B
monochromatic
#412985 #5837B4 #795BCD #9F8ADB #C6B9EA
Accessibility & contrast
On white
5.01
#795BCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#795BCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795BCD
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795BCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795BCD | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2071D1
Deuteranopia (green-blind)
#286DCA
Tritanopia (blue-blind)
#62738B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #795bcd; /* rgb */ color: rgb(121, 91, 205); /* oklch */ color: oklch(55.9% 0.169 292.1);
Tailwind
colors: {
custom: {
50: '#a58add',
500: '#795bcd',
950: '#000000',
},
}SCSS
$custom: #795bcd; $custom-light: #a58add; $custom-dark: #000000;
JSON
{
"hex": "#795bcd",
"rgb": {
"r": 121,
"g": 91,
"b": 205
},
"hsl": {
"h": 255.789,
"s": 53.271,
"l": 58.039
},
"oklch": {
"l": 0.5585,
"c": 0.16933,
"h": 292.1
},
"luminance": 0.15955
}Semantic roles & 50–950 ramp
primary
#795BCD
secondary
#CDD9AB
accent
#DD4BB6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83