#795AF3#795AF3
#795AF3 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.4% C 0.218 H 286.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #795AF3 |
|---|---|
| RGB | rgb(121, 90, 243) |
| HSL | hsl(252, 86%, 65%) |
| HSV | hsv(252, 63%, 95%) |
| CMYK | cmyk(50.2%, 63%, 0%, 4.7%) |
| CIE-LAB | lab(49.31, 50.05, -72.81) |
| CIE-LCH | lch(49.31, 88.36, 304.50°) |
| OKLab | oklab(58.43% 0.0634 -0.2088) |
| OKLCH | oklch(58.43% 0.218 286.9) |
| XYZ | xyz(27.7142, 17.8470, 86.7612) |
| Luminance | 0.1785 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.41
Mediumslateblue
#7B68EE
ΔE00 3.89
Light Indigo
#6D5ACF
ΔE00 5.38
Dark Periwinkle
#665FD1
ΔE00 5.84
Slate Blue
#6A5ACD
ΔE00 5.86
Purpleish Blue
#6140EF
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795AF3 #D4F35A
analogous
#5A87F3 #795AF3 #C65AF3
triadic
#795AF3 #F3795A #5AF379
tetradic
#795AF3 #F35A87 #D4F35A #5AF3C6
square
#795AF3 #F35A87 #D4F35A #5AF3C6
split-complementary
#795AF3 #F3C65A #87F35A
monochromatic
#330EC4 #4B21EF #795AF3 #A793F7 #D6CCFB
Accessibility & contrast
On white
4.60
#795AF3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#795AF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #795AF3
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795AF3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795AF3 | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F8
Deuteranopia (green-blind)
#0071F0
Tritanopia (blue-blind)
#4C7F9E
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #795af3; /* rgb */ color: rgb(121, 90, 243); /* oklch */ color: oklch(58.4% 0.218 286.9);
Tailwind
colors: {
custom: {
50: '#a98af8',
500: '#795af3',
950: '#000000',
},
}SCSS
$custom: #795af3; $custom-light: #a98af8; $custom-dark: #000000;
JSON
{
"hex": "#795af3",
"rgb": {
"r": 121,
"g": 90,
"b": 243
},
"hsl": {
"h": 252.157,
"s": 86.441,
"l": 65.294
},
"oklch": {
"l": 0.58431,
"c": 0.21817,
"h": 286.9
},
"luminance": 0.17848
}Semantic roles & 50–950 ramp
primary
#795AF3
secondary
#E4EEBB
accent
#E303B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85