#795DF6#795DF6
#795DF6 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.1% C 0.218 H 286.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #795DF6 |
|---|---|
| RGB | rgb(121, 93, 246) |
| HSL | hsl(251, 89%, 66%) |
| HSV | hsv(251, 62%, 96%) |
| CMYK | cmyk(50.8%, 62.2%, 0%, 3.5%) |
| CIE-LAB | lab(50.15, 49.25, -73.12) |
| CIE-LCH | lch(50.15, 88.16, 303.96°) |
| OKLab | oklab(59.11% 0.0602 -0.2096) |
| OKLCH | oklch(59.11% 0.218 286) |
| XYZ | xyz(28.4291, 18.5460, 89.2527) |
| Luminance | 0.1855 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.12
Purpley
#8756E4
ΔE00 4.04
Light Indigo
#6D5ACF
ΔE00 5.93
Dark Periwinkle
#665FD1
ΔE00 6.08
Slate Blue
#6A5ACD
ΔE00 6.38
Lighter Purple
#A55AF4
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795DF6 #DAF65D
analogous
#5D8EF6 #795DF6 #C55DF6
triadic
#795DF6 #F6795D #5DF679
tetradic
#795DF6 #F65D8E #DAF65D #5DF6C5
square
#795DF6 #F65D8E #DAF65D #5DF6C5
split-complementary
#795DF6 #F6C55D #8EF65D
monochromatic
#2F0BCD #4923F3 #795DF6 #A997F9 #D9D1FC
Accessibility & contrast
On white
4.46
#795DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#795DF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #795DF6
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795DF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##795DF6 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BFB
Deuteranopia (green-blind)
#0073F3
Tritanopia (blue-blind)
#4982A1
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #795df6; /* rgb */ color: rgb(121, 93, 246); /* oklch */ color: oklch(59.1% 0.218 286.0);
Tailwind
colors: {
custom: {
50: '#a98cfa',
500: '#795df6',
950: '#000000',
},
}SCSS
$custom: #795df6; $custom-light: #a98cfa; $custom-dark: #000000;
JSON
{
"hex": "#795df6",
"rgb": {
"r": 121,
"g": 93,
"b": 246
},
"hsl": {
"h": 250.98,
"s": 89.474,
"l": 66.471
},
"oklch": {
"l": 0.59111,
"c": 0.21813,
"h": 286
},
"luminance": 0.18547
}Semantic roles & 50–950 ramp
primary
#795DF6
secondary
#E7F0BF
accent
#E600BC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85