#7256AA#7256AA
#7256AA is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.1% C 0.130 H 297.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7256AA |
|---|---|
| RGB | rgb(114, 86, 170) |
| HSL | hsl(260, 33%, 50%) |
| HSV | hsv(260, 49%, 67%) |
| CMYK | cmyk(32.9%, 49.4%, 0%, 33.3%) |
| CIE-LAB | lab(42.97, 30.40, -41.14) |
| CIE-LCH | lch(42.97, 51.15, 306.46°) |
| OKLab | oklab(52.08% 0.0592 -0.1159) |
| OKLCH | oklch(52.08% 0.13 297) |
| XYZ | xyz(17.5211, 13.1350, 39.6346) |
| Luminance | 0.1313 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.21
Iris
#6258C4
ΔE00 6.18
Deep Lavender
#8D5EB7
ΔE00 6.25
Slate Blue
#6A5ACD
ΔE00 6.59
Light Indigo
#6D5ACF
ΔE00 6.65
Dark Periwinkle
#665FD1
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7256AA #8EAA56
analogous
#5664AA #7256AA #9C56AA
triadic
#7256AA #AA7256 #56AA72
tetradic
#7256AA #AA5664 #8EAA56 #56AA9C
square
#7256AA #AA5664 #8EAA56 #56AA9C
split-complementary
#7256AA #AA9C56 #64AA56
monochromatic
#3B2D59 #574182 #7256AA #947FBE #B6A7D3
Accessibility & contrast
On white
5.79
#7256AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#7256AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7256AA
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7256AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7256AA | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3966AD
Deuteranopia (green-blind)
#3F64A8
Tritanopia (blue-blind)
#666678
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7256aa; /* rgb */ color: rgb(114, 86, 170); /* oklch */ color: oklch(52.1% 0.130 297.0);
Tailwind
colors: {
custom: {
50: '#9d86c4',
500: '#7256aa',
950: '#000000',
},
}SCSS
$custom: #7256aa; $custom-light: #9d86c4; $custom-dark: #000000;
JSON
{
"hex": "#7256aa",
"rgb": {
"r": 114,
"g": 86,
"b": 170
},
"hsl": {
"h": 260,
"s": 33.071,
"l": 50.196
},
"oklch": {
"l": 0.52076,
"c": 0.13014,
"h": 297
},
"luminance": 0.13135
}Semantic roles & 50–950 ramp
primary
#7256AA
secondary
#B4C19B
accent
#C95FA6
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B12
muted
#7E7C81