#792FC9#792FC9
#792FC9 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.6% C 0.220 H 300.1°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #792FC9 |
|---|---|
| RGB | rgb(121, 47, 201) |
| HSL | hsl(269, 62%, 49%) |
| HSV | hsv(269, 77%, 79%) |
| CMYK | cmyk(39.8%, 76.6%, 0%, 21.2%) |
| CIE-LAB | lab(38.40, 60.11, -66.65) |
| CIE-LCH | lch(38.40, 89.75, 312.05°) |
| OKLab | oklab(49.62% 0.1102 -0.1905) |
| OKLCH | oklch(49.62% 0.22 300.1) |
| XYZ | xyz(19.4416, 10.3148, 56.2137) |
| Luminance | 0.1032 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.12
Burple
#6832E3
ΔE00 4.37
Darkviolet
#9400D3
ΔE00 4.72
Bluey Purple
#6241C7
ΔE00 5.00
Bluish Purple
#703BE7
ΔE00 5.07
Purple Blue
#5D21D0
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792FC9 #7FC92F
analogous
#2F32C9 #792FC9 #C62FC9
triadic
#792FC9 #C9792F #2FC979
tetradic
#792FC9 #C92F32 #7FC92F #2FC9C6
square
#792FC9 #C92F32 #7FC92F #2FC9C6
split-complementary
#792FC9 #C9C62F #32C92F
monochromatic
#3D1866 #5B2397 #792FC9 #985CD9 #B88EE5
Accessibility & contrast
On white
6.86
#792FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#792FC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #792FC9
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792FC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792FC9 | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ACD
Deuteranopia (green-blind)
#0059C6
Tritanopia (blue-blind)
#66587B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #792fc9; /* rgb */ color: rgb(121, 47, 201); /* oklch */ color: oklch(49.6% 0.220 300.1);
Tailwind
colors: {
custom: {
50: '#a770da',
500: '#792fc9',
950: '#000000',
},
}SCSS
$custom: #792fc9; $custom-light: #a770da; $custom-dark: #000000;
JSON
{
"hex": "#792fc9",
"rgb": {
"r": 121,
"g": 47,
"b": 201
},
"hsl": {
"h": 268.831,
"s": 62.097,
"l": 48.627
},
"oklch": {
"l": 0.49624,
"c": 0.22007,
"h": 300.1
},
"luminance": 0.10315
}Semantic roles & 50–950 ramp
primary
#792FC9
secondary
#ABCF85
accent
#E54397
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83