#7B2FAF#7B2FAF
#7B2FAF is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.8% C 0.194 H 307.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7B2FAF |
|---|---|
| RGB | rgb(123, 47, 175) |
| HSL | hsl(276, 58%, 44%) |
| HSV | hsv(276, 73%, 69%) |
| CMYK | cmyk(29.7%, 73.1%, 0%, 31.4%) |
| CIE-LAB | lab(36.63, 54.42, -54.22) |
| CIE-LCH | lch(36.63, 76.82, 315.11°) |
| OKLab | oklab(47.8% 0.1187 -0.1539) |
| OKLCH | oklch(47.8% 0.194 307.6) |
| XYZ | xyz(16.9211, 9.3394, 41.4604) |
| Luminance | 0.0934 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.19
Rebeccapurple
#663399
ΔE00 4.65
Darkviolet
#9400D3
ΔE00 6.01
Darkorchid
#9932CC
ΔE00 6.58
Purply
#983FB2
ΔE00 7.07
Bluey Purple
#6241C7
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B2FAF #63AF2F
analogous
#3B2FAF #7B2FAF #AF2FA3
triadic
#7B2FAF #AF7B2F #2FAF7B
tetradic
#7B2FAF #AF3B2F #63AF2F #2FA3AF
square
#7B2FAF #AF3B2F #63AF2F #2FA3AF
split-complementary
#7B2FAF #A3AF2F #2FAF3B
monochromatic
#37154F #59227F #7B2FAF #9A4CCF #B57CDC
Accessibility & contrast
On white
7.32
#7B2FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#7B2FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B2FAF
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B2FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B2FAF | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0057AC
Tritanopia (blue-blind)
#734D6C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #7b2faf; /* rgb */ color: rgb(123, 47, 175); /* oklch */ color: oklch(47.8% 0.194 307.6);
Tailwind
colors: {
custom: {
50: '#a66fc8',
500: '#7b2faf',
950: '#000000',
},
}SCSS
$custom: #7b2faf; $custom-light: #a66fc8; $custom-dark: #000000;
JSON
{
"hex": "#7b2faf",
"rgb": {
"r": 123,
"g": 47,
"b": 175
},
"hsl": {
"h": 275.625,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.47798,
"c": 0.19433,
"h": 307.6
},
"luminance": 0.09339
}Semantic roles & 50–950 ramp
primary
#7B2FAF
secondary
#95C475
accent
#E14785
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82