#7C239F#7C239F
#7C239F is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.193 H 314.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7C239F |
|---|---|
| RGB | rgb(124, 35, 159) |
| HSL | hsl(283, 64%, 38%) |
| HSV | hsv(283, 78%, 62%) |
| CMYK | cmyk(22%, 78%, 0%, 37.6%) |
| CIE-LAB | lab(33.96, 55.86, -48.92) |
| CIE-LCH | lch(33.96, 74.25, 318.79°) |
| OKLab | oklab(45.58% 0.134 -0.1382) |
| OKLCH | oklch(45.58% 0.193 314.1) |
| XYZ | xyz(15.1701, 7.9909, 33.5374) |
| Luminance | 0.0799 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 0.92
Rebeccapurple
#663399
ΔE00 4.76
Darkmagenta
#8B008B
ΔE00 5.59
Purple
#800080
ΔE00 6.46
Barney Purple
#A00498
ΔE00 7.32
Warm Purple
#952E8F
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C239F #469F23
analogous
#3E239F #7C239F #9F2384
triadic
#7C239F #9F7C23 #239F7C
tetradic
#7C239F #9F3E23 #469F23 #23849F
square
#7C239F #9F3E23 #469F23 #23849F
split-complementary
#7C239F #849F23 #239F3E
monochromatic
#2E0D3B #55186D #7C239F #A32ED1 #B960DC
Accessibility & contrast
On white
8.08
#7C239F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#7C239F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C239F
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C239F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C239F | 1.00 | 8.08 | 2.60 | 8.08 |
| #FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#19529C
Tritanopia (blue-blind)
#794060
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #7c239f; /* rgb */ color: rgb(124, 35, 159); /* oklch */ color: oklch(45.6% 0.193 314.1);
Tailwind
colors: {
custom: {
50: '#a669bc',
500: '#7c239f',
950: '#000000',
},
}SCSS
$custom: #7c239f; $custom-light: #a669bc; $custom-dark: #000000;
JSON
{
"hex": "#7c239f",
"rgb": {
"r": 124,
"g": 35,
"b": 159
},
"hsl": {
"h": 283.065,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.45575,
"c": 0.19254,
"h": 314.1
},
"luminance": 0.0799
}Semantic roles & 50–950 ramp
primary
#7C239F
secondary
#79C15D
accent
#E74170
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81