#78309F#78309F
#78309F is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.3% C 0.176 H 311.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #78309F |
|---|---|
| RGB | rgb(120, 48, 159) |
| HSL | hsl(279, 54%, 41%) |
| HSV | hsv(279, 70%, 62%) |
| CMYK | cmyk(24.5%, 69.8%, 0%, 37.6%) |
| CIE-LAB | lab(35.22, 49.77, -46.92) |
| CIE-LCH | lch(35.22, 68.40, 316.69°) |
| OKLab | oklab(46.35% 0.1158 -0.1326) |
| OKLCH | oklch(46.35% 0.176 311.1) |
| XYZ | xyz(15.0595, 8.6105, 33.6629) |
| Luminance | 0.0861 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.90
Rebeccapurple
#663399
ΔE00 3.48
Darkmagenta
#8B008B
ΔE00 7.07
Purply
#983FB2
ΔE00 7.52
Warm Purple
#952E8F
ΔE00 7.76
Purple
#800080
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78309F #579F30
analogous
#40309F #78309F #9F308E
triadic
#78309F #9F7830 #309F78
tetradic
#78309F #9F4030 #579F30 #308E9F
square
#78309F #9F4030 #579F30 #308E9F
split-complementary
#78309F #8E9F30 #309F40
monochromatic
#311441 #552270 #78309F #9945C7 #B374D5
Accessibility & contrast
On white
7.71
#78309F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#78309F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #78309F
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78309F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##78309F | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#21549D
Tritanopia (blue-blind)
#734864
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #78309f; /* rgb */ color: rgb(120, 48, 159); /* oklch */ color: oklch(46.3% 0.176 311.1);
Tailwind
colors: {
custom: {
50: '#a36ebc',
500: '#78309f',
950: '#000000',
},
}SCSS
$custom: #78309f; $custom-light: #a36ebc; $custom-dark: #000000;
JSON
{
"hex": "#78309f",
"rgb": {
"r": 120,
"g": 48,
"b": 159
},
"hsl": {
"h": 278.919,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.46347,
"c": 0.176,
"h": 311.1
},
"luminance": 0.0861
}Semantic roles & 50–950 ramp
primary
#78309F
secondary
#8ABD6E
accent
#DD4B7E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0812
muted
#7F7B81