#7950AF#7950AF
#7950AF is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.1% C 0.147 H 301.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #7950AF |
|---|---|
| RGB | rgb(121, 80, 175) |
| HSL | hsl(266, 37%, 50%) |
| HSV | hsv(266, 54%, 69%) |
| CMYK | cmyk(30.9%, 54.3%, 0%, 31.4%) |
| CIE-LAB | lab(42.61, 37.09, -44.61) |
| CIE-LCH | lch(42.61, 58.02, 309.74°) |
| OKLab | oklab(52.08% 0.0768 -0.1259) |
| OKLCH | oklch(52.08% 0.147 301.4) |
| XYZ | xyz(18.4899, 12.8974, 42.0645) |
| Luminance | 0.1290 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 1.17
Deep Lavender
#8D5EB7
ΔE00 5.87
Light Indigo
#6D5ACF
ΔE00 6.98
Iris
#6258C4
ΔE00 7.06
Slate Blue
#6A5ACD
ΔE00 7.09
Purply
#983FB2
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7950AF #86AF50
analogous
#5056AF #7950AF #A950AF
triadic
#7950AF #AF7950 #50AF79
tetradic
#7950AF #AF5056 #86AF50 #50AFA9
square
#7950AF #AF5056 #86AF50 #50AFA9
split-complementary
#7950AF #AFA950 #56AF50
monochromatic
#3F2A5B #5C3D85 #7950AF #997AC2 #B9A4D5
Accessibility & contrast
On white
5.87
#7950AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#7950AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7950AF
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7950AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7950AF | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D64B2
Deuteranopia (green-blind)
#3964AD
Tritanopia (blue-blind)
#6E6278
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7950af; /* rgb */ color: rgb(121, 80, 175); /* oklch */ color: oklch(52.1% 0.147 301.4);
Tailwind
colors: {
custom: {
50: '#a382c7',
500: '#7950af',
950: '#000000',
},
}SCSS
$custom: #7950af; $custom-light: #a382c7; $custom-dark: #000000;
JSON
{
"hex": "#7950af",
"rgb": {
"r": 121,
"g": 80,
"b": 175
},
"hsl": {
"h": 265.895,
"s": 37.255,
"l": 50
},
"oklch": {
"l": 0.52075,
"c": 0.14747,
"h": 301.4
},
"luminance": 0.12897
}Semantic roles & 50–950 ramp
primary
#7950AF
secondary
#B0C398
accent
#CD5B9C
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82