#795AF1#795AF1
#795AF1 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.3% C 0.216 H 287.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #795AF1 |
|---|---|
| RGB | rgb(121, 90, 241) |
| HSL | hsl(252, 84%, 65%) |
| HSV | hsv(252, 63%, 95%) |
| CMYK | cmyk(49.8%, 62.7%, 0%, 5.5%) |
| CIE-LAB | lab(49.16, 49.48, -71.93) |
| CIE-LCH | lch(49.16, 87.31, 304.52°) |
| OKLab | oklab(58.28% 0.0636 -0.2062) |
| OKLCH | oklch(58.28% 0.216 287.1) |
| XYZ | xyz(27.4138, 17.7269, 85.1792) |
| Luminance | 0.1773 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.25
Mediumslateblue
#7B68EE
ΔE00 3.92
Light Indigo
#6D5ACF
ΔE00 5.14
Slate Blue
#6A5ACD
ΔE00 5.62
Dark Periwinkle
#665FD1
ΔE00 5.65
Purpleish Blue
#6140EF
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795AF1 #D2F15A
analogous
#5A86F1 #795AF1 #C55AF1
triadic
#795AF1 #F1795A #5AF179
tetradic
#795AF1 #F15A86 #D2F15A #5AF1C5
square
#795AF1 #F15A86 #D2F15A #5AF1C5
split-complementary
#795AF1 #F1C55A #86F15A
monochromatic
#3410C0 #4B22EC #795AF1 #A792F6 #D5CBFB
Accessibility & contrast
On white
4.62
#795AF1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#795AF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #795AF1
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795AF1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795AF1 | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F6
Deuteranopia (green-blind)
#0071EE
Tritanopia (blue-blind)
#4D7E9D
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #795af1; /* rgb */ color: rgb(121, 90, 241); /* oklch */ color: oklch(58.3% 0.216 287.1);
Tailwind
colors: {
custom: {
50: '#a98af7',
500: '#795af1',
950: '#000000',
},
}SCSS
$custom: #795af1; $custom-light: #a98af7; $custom-dark: #000000;
JSON
{
"hex": "#795af1",
"rgb": {
"r": 121,
"g": 90,
"b": 241
},
"hsl": {
"h": 252.318,
"s": 84.358,
"l": 64.902
},
"oklch": {
"l": 0.58278,
"c": 0.21574,
"h": 287.1
},
"luminance": 0.17728
}Semantic roles & 50–950 ramp
primary
#795AF1
secondary
#E3EDBA
accent
#E105B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85