#795AE6#795AE6
#795AE6 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.5% C 0.202 H 288.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #795AE6 |
|---|---|
| RGB | rgb(121, 90, 230) |
| HSL | hsl(253, 74%, 63%) |
| HSV | hsv(253, 61%, 90%) |
| CMYK | cmyk(47.4%, 60.9%, 0%, 9.8%) |
| CIE-LAB | lab(48.37, 46.36, -67.03) |
| CIE-LCH | lch(48.37, 81.50, 304.67°) |
| OKLab | oklab(57.45% 0.0644 -0.1918) |
| OKLCH | oklch(57.45% 0.202 288.6) |
| XYZ | xyz(25.8201, 17.0894, 76.7857) |
| Luminance | 0.1709 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.69
Light Indigo
#6D5ACF
ΔE00 3.84
Mediumslateblue
#7B68EE
ΔE00 4.33
Slate Blue
#6A5ACD
ΔE00 4.38
Dark Periwinkle
#665FD1
ΔE00 4.71
Iris
#6258C4
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795AE6 #C7E65A
analogous
#5A81E6 #795AE6 #BF5AE6
triadic
#795AE6 #E6795A #5AE679
tetradic
#795AE6 #E65A81 #C7E65A #5AE6BF
square
#795AE6 #E65A81 #C7E65A #5AE6BF
split-complementary
#795AE6 #E6BF5A #81E65A
monochromatic
#3A1AAC #4E25DE #795AE6 #A48FEE #CFC4F6
Accessibility & contrast
On white
4.75
#795AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#795AE6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795AE6
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795AE6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795AE6 | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076EB
Deuteranopia (green-blind)
#006FE3
Tritanopia (blue-blind)
#557B98
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #795ae6; /* rgb */ color: rgb(121, 90, 230); /* oklch */ color: oklch(57.5% 0.202 288.6);
Tailwind
colors: {
custom: {
50: '#a78aef',
500: '#795ae6',
950: '#000000',
},
}SCSS
$custom: #795ae6; $custom-light: #a78aef; $custom-dark: #000000;
JSON
{
"hex": "#795ae6",
"rgb": {
"r": 121,
"g": 90,
"b": 230
},
"hsl": {
"h": 253.286,
"s": 73.684,
"l": 62.745
},
"oklch": {
"l": 0.57453,
"c": 0.20228,
"h": 288.6
},
"luminance": 0.1709
}Semantic roles & 50–950 ramp
primary
#795AE6
secondary
#DCE7B5
accent
#D610AA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85