#795BCF#795BCF
#795BCF is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.0% C 0.172 H 291.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #795BCF |
|---|---|
| RGB | rgb(121, 91, 207) |
| HSL | hsl(256, 55%, 58%) |
| HSV | hsv(256, 56%, 81%) |
| CMYK | cmyk(41.5%, 56%, 0%, 18.8%) |
| CIE-LAB | lab(47.04, 39.33, -56.10) |
| CIE-LCH | lch(47.04, 68.51, 305.03°) |
| OKLab | oklab(55.99% 0.0639 -0.1596) |
| OKLCH | oklch(55.99% 0.172 291.8) |
| XYZ | xyz(22.8857, 16.0514, 60.9118) |
| Luminance | 0.1605 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.32
Slate Blue
#6A5ACD
ΔE00 2.87
Purpley
#8756E4
ΔE00 3.91
Dark Periwinkle
#665FD1
ΔE00 4.03
Iris
#6258C4
ΔE00 4.60
Mediumslateblue
#7B68EE
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795BCF #B1CF5B
analogous
#5B77CF #795BCF #B35BCF
triadic
#795BCF #CF795B #5BCF79
tetradic
#795BCF #CF5B77 #B1CF5B #5BCFB3
square
#795BCF #CF5B77 #B1CF5B #5BCFB3
split-complementary
#795BCF #CFB35B #77CF5B
monochromatic
#412888 #5736B7 #795BCF #A08ADD #C6BAEB
Accessibility & contrast
On white
4.99
#795BCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#795BCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795BCF
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795BCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795BCF | 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)
#1C71D3
Deuteranopia (green-blind)
#246DCC
Tritanopia (blue-blind)
#61748C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #795bcf; /* rgb */ color: rgb(121, 91, 207); /* oklch */ color: oklch(56.0% 0.172 291.8);
Tailwind
colors: {
custom: {
50: '#a58ade',
500: '#795bcf',
950: '#000000',
},
}SCSS
$custom: #795bcf; $custom-light: #a58ade; $custom-dark: #000000;
JSON
{
"hex": "#795bcf",
"rgb": {
"r": 121,
"g": 91,
"b": 207
},
"hsl": {
"h": 255.517,
"s": 54.717,
"l": 58.431
},
"oklch": {
"l": 0.55985,
"c": 0.17191,
"h": 291.8
},
"luminance": 0.16052
}Semantic roles & 50–950 ramp
primary
#795BCF
secondary
#CEDAAC
accent
#DE4AB8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83