#795ABF#795ABF
#795ABF is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.8% C 0.153 H 295.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #795ABF |
|---|---|
| RGB | rgb(121, 90, 191) |
| HSL | hsl(258, 44%, 55%) |
| HSV | hsv(258, 53%, 75%) |
| CMYK | cmyk(36.6%, 52.9%, 0%, 25.1%) |
| CIE-LAB | lab(45.82, 35.52, -48.83) |
| CIE-LCH | lch(45.82, 60.38, 306.03°) |
| OKLab | oklab(54.77% 0.0646 -0.1383) |
| OKLCH | oklch(54.77% 0.153 295) |
| XYZ | xyz(20.9429, 15.1385, 51.0987) |
| Luminance | 0.1514 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.80
Slate Blue
#6A5ACD
ΔE00 4.05
Royal Purple
#7851A9
ΔE00 4.64
Iris
#6258C4
ΔE00 4.85
Deep Lavender
#8D5EB7
ΔE00 5.25
Dark Periwinkle
#665FD1
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795ABF #A0BF5A
analogous
#5A6DBF #795ABF #AC5ABF
triadic
#795ABF #BF795A #5ABF79
tetradic
#795ABF #BF5A6D #A0BF5A #5ABFAC
square
#795ABF #BF5A6D #A0BF5A #5ABFAC
split-complementary
#795ABF #BFAC5A #6DBF5A
monochromatic
#422C72 #5B3D9E #795ABF #9D86D0 #C1B2E1
Accessibility & contrast
On white
5.21
#795ABF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#795ABF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795ABF
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795ABF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795ABF | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#306DC2
Deuteranopia (green-blind)
#386BBD
Tritanopia (blue-blind)
#686E84
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #795abf; /* rgb */ color: rgb(121, 90, 191); /* oklch */ color: oklch(54.8% 0.153 295.0);
Tailwind
colors: {
custom: {
50: '#a389d3',
500: '#795abf',
950: '#000000',
},
}SCSS
$custom: #795abf; $custom-light: #a389d3; $custom-dark: #000000;
JSON
{
"hex": "#795abf",
"rgb": {
"r": 121,
"g": 90,
"b": 191
},
"hsl": {
"h": 258.416,
"s": 44.105,
"l": 55.098
},
"oklch": {
"l": 0.54765,
"c": 0.15258,
"h": 295
},
"luminance": 0.15139
}Semantic roles & 50–950 ramp
primary
#795ABF
secondary
#C3D0A5
accent
#D454AD
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0B14
muted
#7F7C83