#795FD6#795FD6
#795FD6 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.1% C 0.175 H 289.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #795FD6 |
|---|---|
| RGB | rgb(121, 95, 214) |
| HSL | hsl(253, 59%, 61%) |
| HSV | hsv(253, 56%, 84%) |
| CMYK | cmyk(43.5%, 55.6%, 0%, 16.1%) |
| CIE-LAB | lab(48.39, 38.97, -57.93) |
| CIE-LCH | lch(48.39, 69.82, 303.93°) |
| OKLab | oklab(57.12% 0.0592 -0.165) |
| OKLCH | oklch(57.12% 0.175 289.8) |
| XYZ | xyz(24.1116, 17.1036, 65.6362) |
| Luminance | 0.1710 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.79
Slate Blue
#6A5ACD
ΔE00 3.32
Dark Periwinkle
#665FD1
ΔE00 3.64
Purpley
#8756E4
ΔE00 3.81
Mediumslateblue
#7B68EE
ΔE00 4.56
Iris
#6258C4
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795FD6 #BCD65F
analogous
#5F80D6 #795FD6 #B45FD6
triadic
#795FD6 #D6795F #5FD679
tetradic
#795FD6 #D65F80 #BCD65F #5FD6B4
square
#795FD6 #D65F80 #BCD65F #5FD6B4
split-complementary
#795FD6 #D6B45F #80D65F
monochromatic
#3E2695 #5333C5 #795FD6 #A290E2 #CBC0EF
Accessibility & contrast
On white
4.75
#795FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#795FD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795FD6
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795FD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795FD6 | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C75DA
Deuteranopia (green-blind)
#2170D3
Tritanopia (blue-blind)
#5E7991
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #795fd6; /* rgb */ color: rgb(121, 95, 214); /* oklch */ color: oklch(57.1% 0.175 289.8);
Tailwind
colors: {
custom: {
50: '#a58de3',
500: '#795fd6',
950: '#000000',
},
}SCSS
$custom: #795fd6; $custom-light: #a58de3; $custom-dark: #000000;
JSON
{
"hex": "#795fd6",
"rgb": {
"r": 121,
"g": 95,
"b": 214
},
"hsl": {
"h": 253.109,
"s": 59.204,
"l": 60.588
},
"oklch": {
"l": 0.57124,
"c": 0.17529,
"h": 289.8
},
"luminance": 0.17104
}Semantic roles & 50–950 ramp
primary
#795FD6
secondary
#D5DFB2
accent
#C71FA2
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C15
muted
#7F7D84