#795FF1#795FF1
#795FF1 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.0% C 0.209 H 286.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #795FF1 |
|---|---|
| RGB | rgb(121, 95, 241) |
| HSL | hsl(251, 84%, 66%) |
| HSV | hsv(251, 61%, 95%) |
| CMYK | cmyk(49.8%, 60.6%, 0%, 5.5%) |
| CIE-LAB | lab(50.21, 46.69, -70.23) |
| CIE-LCH | lch(50.21, 84.33, 303.62°) |
| OKLab | oklab(59.04% 0.0586 -0.2011) |
| OKLCH | oklch(59.04% 0.21 286.2) |
| XYZ | xyz(27.8499, 18.5989, 85.3245) |
| Luminance | 0.1860 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.57
Purpley
#8756E4
ΔE00 4.00
Light Indigo
#6D5ACF
ΔE00 5.50
Dark Periwinkle
#665FD1
ΔE00 5.58
Slate Blue
#6A5ACD
ΔE00 5.95
Lighter Purple
#A55AF4
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795FF1 #D7F15F
analogous
#5F8EF1 #795FF1 #C25FF1
triadic
#795FF1 #F1795F #5FF179
tetradic
#795FF1 #F15F8E #D7F15F #5FF1C2
square
#795FF1 #F15F8E #D7F15F #5FF1C2
split-complementary
#795FF1 #F1C25F #8EF15F
monochromatic
#3111C4 #4A27EC #795FF1 #A897F6 #D7D0FB
Accessibility & contrast
On white
4.45
#795FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#795FF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #795FF1
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795FF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##795FF1 | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF6
Deuteranopia (green-blind)
#0073EE
Tritanopia (blue-blind)
#4D819F
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #795ff1; /* rgb */ color: rgb(121, 95, 241); /* oklch */ color: oklch(59.0% 0.209 286.2);
Tailwind
colors: {
custom: {
50: '#a88df7',
500: '#795ff1',
950: '#000000',
},
}SCSS
$custom: #795ff1; $custom-light: #a88df7; $custom-dark: #000000;
JSON
{
"hex": "#795ff1",
"rgb": {
"r": 121,
"g": 95,
"b": 241
},
"hsl": {
"h": 250.685,
"s": 83.908,
"l": 65.882
},
"oklch": {
"l": 0.59044,
"c": 0.2095,
"h": 286.2
},
"luminance": 0.186
}Semantic roles & 50–950 ramp
primary
#795FF1
secondary
#E5EEBE
accent
#E005B9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85