#795FF6#795FF6
#795FF6 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.4% C 0.216 H 285.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #795FF6 |
|---|---|
| RGB | rgb(121, 95, 246) |
| HSL | hsl(250, 89%, 67%) |
| HSV | hsv(250, 61%, 96%) |
| CMYK | cmyk(50.8%, 61.4%, 0%, 3.5%) |
| CIE-LAB | lab(50.57, 48.13, -72.44) |
| CIE-LCH | lch(50.57, 86.97, 303.60°) |
| OKLab | oklab(59.42% 0.0583 -0.2076) |
| OKLCH | oklch(59.42% 0.216 285.7) |
| XYZ | xyz(28.6070, 18.9017, 89.3119) |
| Luminance | 0.1890 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.62
Purpley
#8756E4
ΔE00 4.37
Light Indigo
#6D5ACF
ΔE00 6.11
Dark Periwinkle
#665FD1
ΔE00 6.11
Slate Blue
#6A5ACD
ΔE00 6.55
Lighter Purple
#A55AF4
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795FF6 #DCF65F
analogous
#5F91F6 #795FF6 #C55FF6
triadic
#795FF6 #F6795F #5FF679
tetradic
#795FF6 #F65F91 #DCF65F #5FF6C5
square
#795FF6 #F65F91 #DCF65F #5FF6C5
split-complementary
#795FF6 #F6C55F #91F65F
monochromatic
#2D0CCF #4825F3 #795FF6 #AA99F9 #DAD3FD
Accessibility & contrast
On white
4.39
#795FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#795FF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #795FF6
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795FF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##795FF6 | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CFB
Deuteranopia (green-blind)
#0074F3
Tritanopia (blue-blind)
#4983A2
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #795ff6; /* rgb */ color: rgb(121, 95, 246); /* oklch */ color: oklch(59.4% 0.216 285.7);
Tailwind
colors: {
custom: {
50: '#a98efa',
500: '#795ff6',
950: '#000000',
},
}SCSS
$custom: #795ff6; $custom-light: #a98efa; $custom-dark: #000000;
JSON
{
"hex": "#795ff6",
"rgb": {
"r": 121,
"g": 95,
"b": 246
},
"hsl": {
"h": 250.331,
"s": 89.349,
"l": 66.863
},
"oklch": {
"l": 0.59418,
"c": 0.21566,
"h": 285.7
},
"luminance": 0.18903
}Semantic roles & 50–950 ramp
primary
#795FF6
secondary
#E8F1C0
accent
#E600BE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85