#795AFD#795AFD
#795AFD is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.2% C 0.230 H 285.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #795AFD |
|---|---|
| RGB | rgb(121, 90, 253) |
| HSL | hsl(251, 98%, 67%) |
| HSV | hsv(251, 64%, 99%) |
| CMYK | cmyk(52.2%, 64.4%, 0%, 0.8%) |
| CIE-LAB | lab(50.06, 52.90, -77.17) |
| CIE-LCH | lch(50.06, 93.56, 304.43°) |
| OKLab | oklab(59.21% 0.0624 -0.2216) |
| OKLCH | oklch(59.21% 0.23 285.7) |
| XYZ | xyz(29.2656, 18.4676, 94.9320) |
| Luminance | 0.1847 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.00
Purpley
#8756E4
ΔE00 4.30
Light Indigo
#6D5ACF
ΔE00 6.59
Dark Periwinkle
#665FD1
ΔE00 6.84
Slate Blue
#6A5ACD
ΔE00 7.04
Lighter Purple
#A55AF4
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795AFD #DEFD5A
analogous
#5A8DFD #795AFD #CB5AFD
triadic
#795AFD #FD795A #5AFD79
tetradic
#795AFD #FD5A8D #DEFD5A #5AFDCB
square
#795AFD #FD5A8D #DEFD5A #5AFDCB
split-complementary
#795AFD #FDCB5A #8DFD5A
monochromatic
#2C03DA #481EFC #795AFD #AA96FE #DBD3FE
Accessibility & contrast
On white
4.47
#795AFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#795AFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #795AFD
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795AFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##795AFD | 1.00 | 4.47 | 4.69 | 4.69 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#0072FA
Tritanopia (blue-blind)
#4383A4
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #795afd; /* rgb */ color: rgb(121, 90, 253); /* oklch */ color: oklch(59.2% 0.230 285.7);
Tailwind
colors: {
custom: {
50: '#aa8aff',
500: '#795afd',
950: '#000000',
},
}SCSS
$custom: #795afd; $custom-light: #aa8aff; $custom-dark: #000000;
JSON
{
"hex": "#795afd",
"rgb": {
"r": 121,
"g": 90,
"b": 253
},
"hsl": {
"h": 251.411,
"s": 97.605,
"l": 67.255
},
"oklch": {
"l": 0.59207,
"c": 0.23017,
"h": 285.7
},
"luminance": 0.18469
}Semantic roles & 50–950 ramp
primary
#795AFD
secondary
#E9F3C0
accent
#E600BA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86