#792ABF#792ABF
#792ABF is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.3% C 0.215 H 302.9°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #792ABF |
|---|---|
| RGB | rgb(121, 42, 191) |
| HSL | hsl(272, 64%, 46%) |
| HSV | hsv(272, 78%, 75%) |
| CMYK | cmyk(36.6%, 78%, 0%, 25.1%) |
| CIE-LAB | lab(36.90, 59.74, -63.26) |
| CIE-LCH | lch(36.90, 87.01, 313.36°) |
| OKLab | oklab(48.32% 0.1169 -0.1805) |
| OKLCH | oklch(48.32% 0.215 302.9) |
| XYZ | xyz(18.1149, 9.4824, 50.1561) |
| Luminance | 0.0948 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.76
Purple Blue
#5D21D0
ΔE00 5.23
Blueviolet
#8A2BE2
ΔE00 5.48
Burple
#6832E3
ΔE00 5.84
Bluey Purple
#6241C7
ΔE00 6.01
Purple (survey)
#7E1E9C
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792ABF #70BF2A
analogous
#2F2ABF #792ABF #BF2ABA
triadic
#792ABF #BF792A #2ABF79
tetradic
#792ABF #BF2F2A #70BF2A #2ABABF
square
#792ABF #BF2F2A #70BF2A #2ABABF
split-complementary
#792ABF #BABF2A #2ABF2F
monochromatic
#39145B #591F8D #792ABF #974ED8 #B580E3
Accessibility & contrast
On white
7.25
#792ABF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#792ABF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792ABF
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792ABF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792ABF | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#6A5274
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #792abf; /* rgb */ color: rgb(121, 42, 191); /* oklch */ color: oklch(48.3% 0.215 302.9);
Tailwind
colors: {
custom: {
50: '#a66dd3',
500: '#792abf',
950: '#000000',
},
}SCSS
$custom: #792abf; $custom-light: #a66dd3; $custom-dark: #000000;
JSON
{
"hex": "#792abf",
"rgb": {
"r": 121,
"g": 42,
"b": 191
},
"hsl": {
"h": 271.812,
"s": 63.948,
"l": 45.686
},
"oklch": {
"l": 0.48317,
"c": 0.21502,
"h": 302.9
},
"luminance": 0.09482
}Semantic roles & 50–950 ramp
primary
#792ABF
secondary
#A0CC79
accent
#E7418F
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83