#7931CF#7931CF
#7931CF is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.3% C 0.224 H 298.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7931CF |
|---|---|
| RGB | rgb(121, 49, 207) |
| HSL | hsl(267, 62%, 50%) |
| HSV | hsv(267, 76%, 81%) |
| CMYK | cmyk(41.5%, 76.3%, 0%, 18.8%) |
| CIE-LAB | lab(39.18, 60.73, -68.85) |
| CIE-LCH | lch(39.18, 91.81, 311.42°) |
| OKLab | oklab(50.33% 0.107 -0.197) |
| OKLCH | oklch(50.33% 0.224 298.5) |
| XYZ | xyz(20.2431, 10.7663, 60.0310) |
| Luminance | 0.1077 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.48
Burple
#6832E3
ΔE00 3.65
Bluish Purple
#703BE7
ΔE00 4.14
Bluey Purple
#6241C7
ΔE00 4.70
Purpley Blue
#5F34E7
ΔE00 4.83
Darkviolet
#9400D3
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7931CF #87CF31
analogous
#3138CF #7931CF #C831CF
triadic
#7931CF #CF7931 #31CF79
tetradic
#7931CF #CF3138 #87CF31 #31CFC8
square
#7931CF #CF3138 #87CF31 #31CFC8
split-complementary
#7931CF #CFC831 #38CF31
monochromatic
#3F196C #5C259E #7931CF #9963DB #BA94E6
Accessibility & contrast
On white
6.66
#7931CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#7931CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7931CF
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7931CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7931CF | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CD3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#645B7F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7931cf; /* rgb */ color: rgb(121, 49, 207); /* oklch */ color: oklch(50.3% 0.224 298.5);
Tailwind
colors: {
custom: {
50: '#a771df',
500: '#7931cf',
950: '#000000',
},
}SCSS
$custom: #7931cf; $custom-light: #a771df; $custom-dark: #000000;
JSON
{
"hex": "#7931cf",
"rgb": {
"r": 121,
"g": 49,
"b": 207
},
"hsl": {
"h": 267.342,
"s": 62.205,
"l": 50.196
},
"oklch": {
"l": 0.50326,
"c": 0.22417,
"h": 298.5
},
"luminance": 0.10767
}Semantic roles & 50–950 ramp
primary
#7931CF
secondary
#B1D18B
accent
#E5439B
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110815
muted
#807B83