#795CD0#795CD0
#795CD0 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.2% C 0.172 H 291.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #795CD0 |
|---|---|
| RGB | rgb(121, 92, 208) |
| HSL | hsl(255, 55%, 59%) |
| HSV | hsv(255, 56%, 82%) |
| CMYK | cmyk(41.8%, 55.8%, 0%, 18.4%) |
| CIE-LAB | lab(47.33, 39.03, -56.21) |
| CIE-LCH | lch(47.33, 68.43, 304.77°) |
| OKLab | oklab(56.22% 0.0627 -0.1599) |
| OKLCH | oklch(56.22% 0.172 291.4) |
| XYZ | xyz(23.0944, 16.2726, 61.5864) |
| Luminance | 0.1627 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.34
Slate Blue
#6A5ACD
ΔE00 2.90
Dark Periwinkle
#665FD1
ΔE00 3.89
Purpley
#8756E4
ΔE00 3.89
Iris
#6258C4
ΔE00 4.68
Mediumslateblue
#7B68EE
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795CD0 #B3D05C
analogous
#5C79D0 #795CD0 #B35CD0
triadic
#795CD0 #D0795C #5CD079
tetradic
#795CD0 #D05C79 #B3D05C #5CD0B3
square
#795CD0 #D05C79 #B3D05C #5CD0B3
split-complementary
#795CD0 #D0B35C #79D05C
monochromatic
#40288A #5635B9 #795CD0 #A08CDE #C7BBEB
Accessibility & contrast
On white
4.94
#795CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#795CD0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795CD0
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795CD0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795CD0 | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D72D4
Deuteranopia (green-blind)
#256ECD
Tritanopia (blue-blind)
#61758D
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #795cd0; /* rgb */ color: rgb(121, 92, 208); /* oklch */ color: oklch(56.2% 0.172 291.4);
Tailwind
colors: {
custom: {
50: '#a58bdf',
500: '#795cd0',
950: '#000000',
},
}SCSS
$custom: #795cd0; $custom-light: #a58bdf; $custom-dark: #000000;
JSON
{
"hex": "#795cd0",
"rgb": {
"r": 121,
"g": 92,
"b": 208
},
"hsl": {
"h": 255,
"s": 55.238,
"l": 58.824
},
"oklch": {
"l": 0.56218,
"c": 0.17177,
"h": 291.4
},
"luminance": 0.16273
}Semantic roles & 50–950 ramp
primary
#795CD0
secondary
#CFDBAD
accent
#DF49B9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83