#795BCA#795BCA
#795BCA is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.6% C 0.165 H 292.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #795BCA |
|---|---|
| RGB | rgb(121, 91, 202) |
| HSL | hsl(256, 51%, 57%) |
| HSV | hsv(256, 55%, 79%) |
| CMYK | cmyk(40.1%, 55%, 0%, 20.8%) |
| CIE-LAB | lab(46.73, 37.94, -53.74) |
| CIE-LCH | lch(46.73, 65.78, 305.22°) |
| OKLab | oklab(55.65% 0.0638 -0.1527) |
| OKLCH | oklch(55.65% 0.165 292.7) |
| XYZ | xyz(22.2840, 15.8108, 57.7434) |
| Luminance | 0.1581 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.56
Slate Blue
#6A5ACD
ΔE00 3.03
Dark Periwinkle
#665FD1
ΔE00 4.29
Purpley
#8756E4
ΔE00 4.48
Iris
#6258C4
ΔE00 4.51
Deep Lavender
#8D5EB7
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795BCA #ACCA5B
analogous
#5B75CA #795BCA #B05BCA
triadic
#795BCA #CA795B #5BCA79
tetradic
#795BCA #CA5B75 #ACCA5B #5BCAB0
square
#795BCA #CA5B75 #ACCA5B #5BCAB0
split-complementary
#795BCA #CAB05B #75CA5B
monochromatic
#412A81 #5939AF #795BCA #9F89D9 #C5B8E8
Accessibility & contrast
On white
5.05
#795BCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#795BCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795BCA
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795BCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795BCA | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2570CE
Deuteranopia (green-blind)
#2C6DC8
Tritanopia (blue-blind)
#64728A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #795bca; /* rgb */ color: rgb(121, 91, 202); /* oklch */ color: oklch(55.6% 0.165 292.7);
Tailwind
colors: {
custom: {
50: '#a48adb',
500: '#795bca',
950: '#000000',
},
}SCSS
$custom: #795bca; $custom-light: #a48adb; $custom-dark: #000000;
JSON
{
"hex": "#795bca",
"rgb": {
"r": 121,
"g": 91,
"b": 202
},
"hsl": {
"h": 256.216,
"s": 51.152,
"l": 57.451
},
"oklch": {
"l": 0.5565,
"c": 0.16544,
"h": 292.7
},
"luminance": 0.15811
}Semantic roles & 50–950 ramp
primary
#795BCA
secondary
#CBD7AA
accent
#DB4DB4
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83