#7A239F#7A239F
#7A239F is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.192 H 313.2°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #7A239F |
|---|---|
| RGB | rgb(122, 35, 159) |
| HSL | hsl(282, 64%, 38%) |
| HSV | hsv(282, 78%, 62%) |
| CMYK | cmyk(23.3%, 78%, 0%, 37.6%) |
| CIE-LAB | lab(33.65, 55.48, -49.44) |
| CIE-LCH | lch(33.65, 74.31, 318.29°) |
| OKLab | oklab(45.3% 0.1314 -0.1398) |
| OKLCH | oklch(45.3% 0.192 313.2) |
| XYZ | xyz(14.8840, 7.8433, 33.5240) |
| Luminance | 0.0784 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 1.15
Rebeccapurple
#663399
ΔE00 4.48
Darkmagenta
#8B008B
ΔE00 5.85
Purple
#800080
ΔE00 6.60
Barney Purple
#A00498
ΔE00 7.70
Darkviolet
#9400D3
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A239F #489F23
analogous
#3C239F #7A239F #9F2386
triadic
#7A239F #9F7A23 #239F7A
tetradic
#7A239F #9F3C23 #489F23 #23869F
square
#7A239F #9F3C23 #489F23 #23869F
split-complementary
#7A239F #869F23 #239F3C
monochromatic
#2D0D3B #54186D #7A239F #A02ED1 #B760DC
Accessibility & contrast
On white
8.18
#7A239F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#7A239F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A239F
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A239F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A239F | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#14519C
Tritanopia (blue-blind)
#764060
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #7a239f; /* rgb */ color: rgb(122, 35, 159); /* oklch */ color: oklch(45.3% 0.192 313.2);
Tailwind
colors: {
custom: {
50: '#a568bc',
500: '#7a239f',
950: '#000000',
},
}SCSS
$custom: #7a239f; $custom-light: #a568bc; $custom-dark: #000000;
JSON
{
"hex": "#7a239f",
"rgb": {
"r": 122,
"g": 35,
"b": 159
},
"hsl": {
"h": 282.097,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.45295,
"c": 0.19187,
"h": 313.2
},
"luminance": 0.07843
}Semantic roles & 50–950 ramp
primary
#7A239F
secondary
#7BC15D
accent
#E74172
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81