#795ADA#795ADA
#795ADA is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.6% C 0.187 H 290.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #795ADA |
|---|---|
| RGB | rgb(121, 90, 218) |
| HSL | hsl(255, 63%, 60%) |
| HSV | hsv(255, 59%, 85%) |
| CMYK | cmyk(44.5%, 58.7%, 0%, 14.5%) |
| CIE-LAB | lab(47.54, 42.97, -61.57) |
| CIE-LCH | lch(47.54, 75.09, 304.91°) |
| OKLab | oklab(56.58% 0.0649 -0.1757) |
| OKLCH | oklch(56.58% 0.187 290.3) |
| XYZ | xyz(24.1927, 16.4384, 68.2143) |
| Luminance | 0.1644 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.66
Purpley
#8756E4
ΔE00 2.90
Slate Blue
#6A5ACD
ΔE00 3.27
Dark Periwinkle
#665FD1
ΔE00 4.09
Iris
#6258C4
ΔE00 5.21
Mediumslateblue
#7B68EE
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795ADA #BBDA5A
analogous
#5A7BDA #795ADA #B95ADA
triadic
#795ADA #DA795A #5ADA79
tetradic
#795ADA #DA5A7B #BBDA5A #5ADAB9
square
#795ADA #DA5A7B #BBDA5A #5ADAB9
split-complementary
#795ADA #DAB95A #7BDA5A
monochromatic
#3E2298 #532DCA #795ADA #A28CE5 #CABEF0
Accessibility & contrast
On white
4.90
#795ADA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#795ADA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795ADA
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795ADA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795ADA | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073DE
Deuteranopia (green-blind)
#006ED7
Tritanopia (blue-blind)
#5C7791
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #795ada; /* rgb */ color: rgb(121, 90, 218); /* oklch */ color: oklch(56.6% 0.187 290.3);
Tailwind
colors: {
custom: {
50: '#a68ae6',
500: '#795ada',
950: '#000000',
},
}SCSS
$custom: #795ada; $custom-light: #a68ae6; $custom-dark: #000000;
JSON
{
"hex": "#795ada",
"rgb": {
"r": 121,
"g": 90,
"b": 218
},
"hsl": {
"h": 254.531,
"s": 63.366,
"l": 60.392
},
"oklch": {
"l": 0.56585,
"c": 0.18731,
"h": 290.3
},
"luminance": 0.16439
}Semantic roles & 50–950 ramp
primary
#795ADA
secondary
#D5E0AF
accent
#CB1AA0
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84