#7C256F#7C256F
#7C256F is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.7% C 0.148 H 334.4°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #7C256F |
|---|---|
| RGB | rgb(124, 37, 111) |
| HSL | hsl(309, 54%, 32%) |
| HSV | hsv(309, 70%, 49%) |
| CMYK | cmyk(0%, 70.2%, 10.5%, 51.4%) |
| CIE-LAB | lab(31.25, 46.08, -23.45) |
| CIE-LCH | lch(31.25, 51.71, 333.03°) |
| OKLab | oklab(42.68% 0.1338 -0.064) |
| OKLCH | oklch(42.68% 0.148 334.4) |
| XYZ | xyz(11.8431, 6.7569, 15.7163) |
| Luminance | 0.0676 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.36
Purple
#800080
ΔE00 5.40
Grape
#6C3461
ΔE00 5.64
Rich Purple
#720058
ΔE00 5.77
Darkmagenta
#8B008B
ΔE00 6.29
Bruise
#7E4071
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C256F #257C32
analogous
#5E257C #7C256F #7C2544
triadic
#7C256F #6F7C25 #256F7C
tetradic
#7C256F #7C5E25 #257C32 #25447C
square
#7C256F #7C5E25 #257C32 #25447C
split-complementary
#7C256F #447C25 #257C5E
monochromatic
#1E091B #4D1745 #7C256F #AB3399 #CB50B9
Accessibility & contrast
On white
8.93
#7C256F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#7C256F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C256F
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C256F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C256F | 1.00 | 8.93 | 2.35 | 8.93 |
| #FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244171
Deuteranopia (green-blind)
#424E6D
Tritanopia (blue-blind)
#822C46
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7c256f; /* rgb */ color: rgb(124, 37, 111); /* oklch */ color: oklch(42.7% 0.148 334.4);
Tailwind
colors: {
custom: {
50: '#a56798',
500: '#7c256f',
950: '#000000',
},
}SCSS
$custom: #7c256f; $custom-light: #a56798; $custom-dark: #000000;
JSON
{
"hex": "#7c256f",
"rgb": {
"r": 124,
"g": 37,
"b": 111
},
"hsl": {
"h": 308.966,
"s": 54.037,
"l": 31.569
},
"oklch": {
"l": 0.42677,
"c": 0.14835,
"h": 334.4
},
"luminance": 0.06756
}Semantic roles & 50–950 ramp
primary
#7C256F
secondary
#4FAE5D
accent
#DD604A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E