#795CDB#795CDB
#795CDB is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.0% C 0.186 H 289.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #795CDB |
|---|---|
| RGB | rgb(121, 92, 219) |
| HSL | hsl(254, 64%, 61%) |
| HSV | hsv(254, 58%, 86%) |
| CMYK | cmyk(44.7%, 58%, 0%, 14.1%) |
| CIE-LAB | lab(48.05, 42.12, -61.33) |
| CIE-LCH | lch(48.05, 74.40, 304.48°) |
| OKLab | oklab(56.98% 0.0627 -0.175) |
| OKLCH | oklch(56.98% 0.186 289.7) |
| XYZ | xyz(24.4949, 16.8328, 68.9625) |
| Luminance | 0.1683 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.80
Purpley
#8756E4
ΔE00 3.06
Slate Blue
#6A5ACD
ΔE00 3.39
Dark Periwinkle
#665FD1
ΔE00 3.93
Mediumslateblue
#7B68EE
ΔE00 4.67
Iris
#6258C4
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795CDB #BEDB5C
analogous
#5C7EDB #795CDB #B85CDB
triadic
#795CDB #DB795C #5CDB79
tetradic
#795CDB #DB5C7E #BEDB5C #5CDBB8
square
#795CDB #DB5C7E #BEDB5C #5CDBB8
split-complementary
#795CDB #DBB85C #7EDB5C
monochromatic
#3E229A #522DCD #795CDB #A28EE6 #CBC0F1
Accessibility & contrast
On white
4.81
#795CDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#795CDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795CDB
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795CDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795CDB | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#036FD8
Tritanopia (blue-blind)
#5B7893
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #795cdb; /* rgb */ color: rgb(121, 92, 219); /* oklch */ color: oklch(57.0% 0.186 289.7);
Tailwind
colors: {
custom: {
50: '#a68be7',
500: '#795cdb',
950: '#000000',
},
}SCSS
$custom: #795cdb; $custom-light: #a68be7; $custom-dark: #000000;
JSON
{
"hex": "#795cdb",
"rgb": {
"r": 121,
"g": 92,
"b": 219
},
"hsl": {
"h": 253.701,
"s": 63.819,
"l": 60.98
},
"oklch": {
"l": 0.56977,
"c": 0.18585,
"h": 289.7
},
"luminance": 0.16834
}Semantic roles & 50–950 ramp
primary
#795CDB
secondary
#D6E1B1
accent
#CC1AA3
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84