#793FC9#793FC9
#793FC9 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.4% C 0.202 H 298.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #793FC9 |
|---|---|
| RGB | rgb(121, 63, 201) |
| HSL | hsl(265, 56%, 52%) |
| HSV | hsv(265, 69%, 79%) |
| CMYK | cmyk(39.8%, 68.7%, 0%, 21.2%) |
| CIE-LAB | lab(40.96, 52.90, -62.49) |
| CIE-LCH | lch(40.96, 81.87, 310.25°) |
| OKLab | oklab(51.43% 0.0955 -0.1783) |
| OKLCH | oklch(51.43% 0.202 298.2) |
| XYZ | xyz(20.2026, 11.8367, 56.4673) |
| Luminance | 0.1184 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.93
Bluish Purple
#703BE7
ΔE00 4.28
Blueviolet
#8A2BE2
ΔE00 4.45
Burple
#6832E3
ΔE00 4.85
Darkorchid
#9932CC
ΔE00 5.66
Purpley Blue
#5F34E7
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793FC9 #8FC93F
analogous
#3F4AC9 #793FC9 #BE3FC9
triadic
#793FC9 #C9793F #3FC979
tetradic
#793FC9 #C93F4A #8FC93F #3FC9BE
square
#793FC9 #C93F4A #8FC93F #3FC9BE
split-complementary
#793FC9 #C9BE3F #4AC93F
monochromatic
#401F6F #5C2D9E #793FC9 #9A6FD6 #BC9FE4
Accessibility & contrast
On white
6.24
#793FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#793FC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793FC9
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793FC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793FC9 | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#66607F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #793fc9; /* rgb */ color: rgb(121, 63, 201); /* oklch */ color: oklch(51.4% 0.202 298.2);
Tailwind
colors: {
custom: {
50: '#a678da',
500: '#793fc9',
950: '#000000',
},
}SCSS
$custom: #793fc9; $custom-light: #a678da; $custom-dark: #000000;
JSON
{
"hex": "#793fc9",
"rgb": {
"r": 121,
"g": 63,
"b": 201
},
"hsl": {
"h": 265.217,
"s": 56.098,
"l": 51.765
},
"oklch": {
"l": 0.5143,
"c": 0.2023,
"h": 298.2
},
"luminance": 0.11837
}Semantic roles & 50–950 ramp
primary
#793FC9
secondary
#B7D094
accent
#DF48A0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83