#795ACA#795ACA
#795ACA is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.5% C 0.167 H 292.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #795ACA |
|---|---|
| RGB | rgb(121, 90, 202) |
| HSL | hsl(257, 51%, 57%) |
| HSV | hsv(257, 55%, 79%) |
| CMYK | cmyk(40.1%, 55.4%, 0%, 20.8%) |
| CIE-LAB | lab(46.50, 38.52, -54.10) |
| CIE-LCH | lch(46.50, 66.41, 305.45°) |
| OKLab | oklab(55.48% 0.065 -0.1537) |
| OKLCH | oklch(55.48% 0.167 292.9) |
| XYZ | xyz(22.1991, 15.6410, 57.7151) |
| Luminance | 0.1564 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.57
Slate Blue
#6A5ACD
ΔE00 3.03
Dark Periwinkle
#665FD1
ΔE00 4.41
Purpley
#8756E4
ΔE00 4.42
Iris
#6258C4
ΔE00 4.48
Royal Purple
#7851A9
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795ACA #ABCA5A
analogous
#5A73CA #795ACA #B15ACA
triadic
#795ACA #CA795A #5ACA79
tetradic
#795ACA #CA5A73 #ABCA5A #5ACAB1
square
#795ACA #CA5A73 #ABCA5A #5ACAB1
split-complementary
#795ACA #CAB15A #73CA5A
monochromatic
#412980 #5938AF #795ACA #9F88D9 #C4B7E8
Accessibility & contrast
On white
5.09
#795ACA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#795ACA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795ACA
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795ACA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795ACA | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2270CE
Deuteranopia (green-blind)
#2A6CC8
Tritanopia (blue-blind)
#647289
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #795aca; /* rgb */ color: rgb(121, 90, 202); /* oklch */ color: oklch(55.5% 0.167 292.9);
Tailwind
colors: {
custom: {
50: '#a489db',
500: '#795aca',
950: '#000000',
},
}SCSS
$custom: #795aca; $custom-light: #a489db; $custom-dark: #000000;
JSON
{
"hex": "#795aca",
"rgb": {
"r": 121,
"g": 90,
"b": 202
},
"hsl": {
"h": 256.607,
"s": 51.376,
"l": 57.255
},
"oklch": {
"l": 0.55483,
"c": 0.1669,
"h": 292.9
},
"luminance": 0.15642
}Semantic roles & 50–950 ramp
primary
#795ACA
secondary
#CAD7A9
accent
#DB4DB4
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83