#795CF1#795CF1
#795CF1 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.6% C 0.213 H 286.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #795CF1 |
|---|---|
| RGB | rgb(121, 92, 241) |
| HSL | hsl(252, 84%, 65%) |
| HSV | hsv(252, 62%, 95%) |
| CMYK | cmyk(49.8%, 61.8%, 0%, 5.5%) |
| CIE-LAB | lab(49.58, 48.37, -71.26) |
| CIE-LCH | lch(49.58, 86.12, 304.17°) |
| OKLab | oklab(58.58% 0.0616 -0.2042) |
| OKLCH | oklch(58.58% 0.213 286.8) |
| XYZ | xyz(27.5848, 18.0688, 85.2362) |
| Luminance | 0.1807 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.38
Purpley
#8756E4
ΔE00 3.50
Light Indigo
#6D5ACF
ΔE00 5.24
Dark Periwinkle
#665FD1
ΔE00 5.58
Slate Blue
#6A5ACD
ΔE00 5.72
Iris
#6258C4
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795CF1 #D4F15C
analogous
#5C89F1 #795CF1 #C45CF1
triadic
#795CF1 #F1795C #5CF179
tetradic
#795CF1 #F15C89 #D4F15C #5CF1C4
square
#795CF1 #F15C89 #D4F15C #5CF1C4
split-complementary
#795CF1 #F1C45C #89F15C
monochromatic
#3311C2 #4B24EC #795CF1 #A794F6 #D6CDFB
Accessibility & contrast
On white
4.55
#795CF1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#795CF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #795CF1
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795CF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##795CF1 | 1.00 | 4.55 | 4.61 | 4.61 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF6
Deuteranopia (green-blind)
#0072EE
Tritanopia (blue-blind)
#4D809E
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #795cf1; /* rgb */ color: rgb(121, 92, 241); /* oklch */ color: oklch(58.6% 0.213 286.8);
Tailwind
colors: {
custom: {
50: '#a98bf7',
500: '#795cf1',
950: '#000000',
},
}SCSS
$custom: #795cf1; $custom-light: #a98bf7; $custom-dark: #000000;
JSON
{
"hex": "#795cf1",
"rgb": {
"r": 121,
"g": 92,
"b": 241
},
"hsl": {
"h": 251.678,
"s": 84.181,
"l": 65.294
},
"oklch": {
"l": 0.58581,
"c": 0.21326,
"h": 286.8
},
"luminance": 0.1807
}Semantic roles & 50–950 ramp
primary
#795CF1
secondary
#E4EEBB
accent
#E105B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85