#7C259F#7C259F
#7C259F is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.190 H 314.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #7C259F |
|---|---|
| RGB | rgb(124, 37, 159) |
| HSL | hsl(283, 62%, 38%) |
| HSV | hsv(283, 77%, 62%) |
| CMYK | cmyk(22%, 76.7%, 0%, 37.6%) |
| CIE-LAB | lab(34.21, 55.14, -48.52) |
| CIE-LCH | lch(34.21, 73.44, 318.65°) |
| OKLab | oklab(45.75% 0.1323 -0.137) |
| OKLCH | oklch(45.75% 0.19 314) |
| XYZ | xyz(15.2307, 8.1119, 33.5576) |
| Luminance | 0.0811 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 1.11
Rebeccapurple
#663399
ΔE00 4.64
Darkmagenta
#8B008B
ΔE00 5.70
Purple
#800080
ΔE00 6.59
Barney Purple
#A00498
ΔE00 7.32
Warm Purple
#952E8F
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C259F #489F25
analogous
#3F259F #7C259F #9F2585
triadic
#7C259F #9F7C25 #259F7C
tetradic
#7C259F #9F3F25 #489F25 #25859F
square
#7C259F #9F3F25 #489F25 #25859F
split-complementary
#7C259F #859F25 #259F3F
monochromatic
#2F0E3C #55196D #7C259F #A232CF #B964DB
Accessibility & contrast
On white
8.01
#7C259F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#7C259F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C259F
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C259F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C259F | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#1B529C
Tritanopia (blue-blind)
#794161
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #7c259f; /* rgb */ color: rgb(124, 37, 159); /* oklch */ color: oklch(45.8% 0.190 314.0);
Tailwind
colors: {
custom: {
50: '#a669bc',
500: '#7c259f',
950: '#000000',
},
}SCSS
$custom: #7c259f; $custom-light: #a669bc; $custom-dark: #000000;
JSON
{
"hex": "#7c259f",
"rgb": {
"r": 124,
"g": 37,
"b": 159
},
"hsl": {
"h": 282.787,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.45752,
"c": 0.19045,
"h": 314
},
"luminance": 0.08111
}Semantic roles & 50–950 ramp
primary
#7C259F
secondary
#7BC05F
accent
#E54271
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81