#7C269F#7C269F
#7C269F is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.189 H 313.9°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7C269F |
|---|---|
| RGB | rgb(124, 38, 159) |
| HSL | hsl(283, 61%, 39%) |
| HSV | hsv(283, 76%, 62%) |
| CMYK | cmyk(22%, 76.1%, 0%, 37.6%) |
| CIE-LAB | lab(34.34, 54.76, -48.31) |
| CIE-LCH | lch(34.34, 73.03, 318.58°) |
| OKLab | oklab(45.84% 0.1313 -0.1364) |
| OKLCH | oklch(45.84% 0.189 313.9) |
| XYZ | xyz(15.2622, 8.1750, 33.5681) |
| Luminance | 0.0818 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 1.23
Rebeccapurple
#663399
ΔE00 4.59
Darkmagenta
#8B008B
ΔE00 5.75
Purple
#800080
ΔE00 6.66
Barney Purple
#A00498
ΔE00 7.32
Warm Purple
#952E8F
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C269F #499F26
analogous
#40269F #7C269F #9F2685
triadic
#7C269F #9F7C26 #269F7C
tetradic
#7C269F #9F4026 #499F26 #26859F
square
#7C269F #9F4026 #499F26 #26859F
split-complementary
#7C269F #859F26 #269F40
monochromatic
#2F0E3C #551A6E #7C269F #A234CE #B865DA
Accessibility & contrast
On white
7.97
#7C269F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#7C269F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C269F
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C269F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C269F | 1.00 | 7.97 | 2.64 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#1C539C
Tritanopia (blue-blind)
#794161
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #7c269f; /* rgb */ color: rgb(124, 38, 159); /* oklch */ color: oklch(45.8% 0.189 313.9);
Tailwind
colors: {
custom: {
50: '#a66abc',
500: '#7c269f',
950: '#000000',
},
}SCSS
$custom: #7c269f; $custom-light: #a66abc; $custom-dark: #000000;
JSON
{
"hex": "#7c269f",
"rgb": {
"r": 124,
"g": 38,
"b": 159
},
"hsl": {
"h": 282.645,
"s": 61.421,
"l": 38.627
},
"oklch": {
"l": 0.45844,
"c": 0.18936,
"h": 313.9
},
"luminance": 0.08175
}Semantic roles & 50–950 ramp
primary
#7C269F
secondary
#7CC061
accent
#E54372
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81