#795CF0#795CF0
#795CF0 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.5% C 0.212 H 286.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #795CF0 |
|---|---|
| RGB | rgb(121, 92, 240) |
| HSL | hsl(252, 83%, 65%) |
| HSV | hsv(252, 62%, 94%) |
| CMYK | cmyk(49.6%, 61.7%, 0%, 5.9%) |
| CIE-LAB | lab(49.51, 48.08, -70.81) |
| CIE-LCH | lch(49.51, 85.60, 304.18°) |
| OKLab | oklab(58.51% 0.0617 -0.2029) |
| OKLCH | oklch(58.51% 0.212 286.9) |
| XYZ | xyz(27.4359, 18.0092, 84.4517) |
| Luminance | 0.1801 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.40
Purpley
#8756E4
ΔE00 3.43
Light Indigo
#6D5ACF
ΔE00 5.12
Dark Periwinkle
#665FD1
ΔE00 5.48
Slate Blue
#6A5ACD
ΔE00 5.60
Iris
#6258C4
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795CF0 #D3F05C
analogous
#5C89F0 #795CF0 #C35CF0
triadic
#795CF0 #F0795C #5CF079
tetradic
#795CF0 #F05C89 #D3F05C #5CF0C3
square
#795CF0 #F05C89 #D3F05C #5CF0C3
split-complementary
#795CF0 #F0C35C #89F05C
monochromatic
#3412C0 #4B24EB #795CF0 #A794F5 #D5CCFA
Accessibility & contrast
On white
4.56
#795CF0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#795CF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #795CF0
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795CF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##795CF0 | 1.00 | 4.56 | 4.60 | 4.60 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F5
Deuteranopia (green-blind)
#0072ED
Tritanopia (blue-blind)
#4E7F9E
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #795cf0; /* rgb */ color: rgb(121, 92, 240); /* oklch */ color: oklch(58.5% 0.212 286.9);
Tailwind
colors: {
custom: {
50: '#a88bf6',
500: '#795cf0',
950: '#000000',
},
}SCSS
$custom: #795cf0; $custom-light: #a88bf6; $custom-dark: #000000;
JSON
{
"hex": "#795cf0",
"rgb": {
"r": 121,
"g": 92,
"b": 240
},
"hsl": {
"h": 251.757,
"s": 83.146,
"l": 65.098
},
"oklch": {
"l": 0.58505,
"c": 0.21203,
"h": 286.9
},
"luminance": 0.18011
}Semantic roles & 50–950 ramp
primary
#795CF0
secondary
#E3EDBB
accent
#E006B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85