#795BCC#795BCC
#795BCC is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.8% C 0.168 H 292.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #795BCC |
|---|---|
| RGB | rgb(121, 91, 204) |
| HSL | hsl(256, 53%, 58%) |
| HSV | hsv(256, 55%, 80%) |
| CMYK | cmyk(40.7%, 55.4%, 0%, 20%) |
| CIE-LAB | lab(46.85, 38.50, -54.69) |
| CIE-LCH | lch(46.85, 66.88, 305.14°) |
| OKLab | oklab(55.78% 0.0638 -0.1554) |
| OKLCH | oklch(55.78% 0.168 292.3) |
| XYZ | xyz(22.5224, 15.9061, 58.9986) |
| Luminance | 0.1591 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.43
Slate Blue
#6A5ACD
ΔE00 2.94
Dark Periwinkle
#665FD1
ΔE00 4.17
Purpley
#8756E4
ΔE00 4.24
Iris
#6258C4
ΔE00 4.53
Deep Lavender
#8D5EB7
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795BCC #AECC5B
analogous
#5B76CC #795BCC #B15BCC
triadic
#795BCC #CC795B #5BCC79
tetradic
#795BCC #CC5B76 #AECC5B #5BCCB1
square
#795BCC #CC5B76 #AECC5B #5BCCB1
split-complementary
#795BCC #CCB15B #76CC5B
monochromatic
#412984 #5837B2 #795BCC #9F8ADB #C5B8E9
Accessibility & contrast
On white
5.02
#795BCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#795BCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795BCC
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795BCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795BCC | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2171D0
Deuteranopia (green-blind)
#296DC9
Tritanopia (blue-blind)
#63738B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #795bcc; /* rgb */ color: rgb(121, 91, 204); /* oklch */ color: oklch(55.8% 0.168 292.3);
Tailwind
colors: {
custom: {
50: '#a58adc',
500: '#795bcc',
950: '#000000',
},
}SCSS
$custom: #795bcc; $custom-light: #a58adc; $custom-dark: #000000;
JSON
{
"hex": "#795bcc",
"rgb": {
"r": 121,
"g": 91,
"b": 204
},
"hsl": {
"h": 255.929,
"s": 52.558,
"l": 57.843
},
"oklch": {
"l": 0.55783,
"c": 0.16804,
"h": 292.3
},
"luminance": 0.15907
}Semantic roles & 50–950 ramp
primary
#795BCC
secondary
#CCD8AB
accent
#DC4CB6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83