#795BCE#795BCE
#795BCE is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.9% C 0.171 H 292.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #795BCE |
|---|---|
| RGB | rgb(121, 91, 206) |
| HSL | hsl(256, 54%, 58%) |
| HSV | hsv(256, 56%, 81%) |
| CMYK | cmyk(41.3%, 55.8%, 0%, 19.2%) |
| CIE-LAB | lab(46.98, 39.05, -55.63) |
| CIE-LCH | lch(46.98, 67.97, 305.07°) |
| OKLab | oklab(55.92% 0.0639 -0.1582) |
| OKLCH | oklch(55.92% 0.171 292) |
| XYZ | xyz(22.7638, 16.0027, 60.2700) |
| Luminance | 0.1600 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.35
Slate Blue
#6A5ACD
ΔE00 2.89
Purpley
#8756E4
ΔE00 4.01
Dark Periwinkle
#665FD1
ΔE00 4.07
Iris
#6258C4
ΔE00 4.57
Mediumslateblue
#7B68EE
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795BCE #B0CE5B
analogous
#5B76CE #795BCE #B25BCE
triadic
#795BCE #CE795B #5BCE79
tetradic
#795BCE #CE5B76 #B0CE5B #5BCEB2
square
#795BCE #CE5B76 #B0CE5B #5BCEB2
split-complementary
#795BCE #CEB25B #76CE5B
monochromatic
#412886 #5736B6 #795BCE #A08ADC #C6B9EA
Accessibility & contrast
On white
5.00
#795BCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#795BCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795BCE
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795BCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795BCE | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E71D2
Deuteranopia (green-blind)
#266DCB
Tritanopia (blue-blind)
#62748C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #795bce; /* rgb */ color: rgb(121, 91, 206); /* oklch */ color: oklch(55.9% 0.171 292.0);
Tailwind
colors: {
custom: {
50: '#a58ade',
500: '#795bce',
950: '#000000',
},
}SCSS
$custom: #795bce; $custom-light: #a58ade; $custom-dark: #000000;
JSON
{
"hex": "#795bce",
"rgb": {
"r": 121,
"g": 91,
"b": 206
},
"hsl": {
"h": 255.652,
"s": 53.991,
"l": 58.235
},
"oklch": {
"l": 0.55917,
"c": 0.17062,
"h": 292
},
"luminance": 0.16003
}Semantic roles & 50–950 ramp
primary
#795BCE
secondary
#CDD9AB
accent
#DD4AB7
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83