#9056AF#9056AF
#9056AF is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.6% C 0.145 H 312.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9056AF |
|---|---|
| RGB | rgb(144, 86, 175) |
| HSL | hsl(279, 36%, 51%) |
| HSV | hsv(279, 51%, 69%) |
| CMYK | cmyk(17.7%, 50.9%, 0%, 31.4%) |
| CIE-LAB | lab(46.55, 39.98, -38.18) |
| CIE-LCH | lch(46.55, 55.29, 316.32°) |
| OKLab | oklab(55.59% 0.0981 -0.1065) |
| OKLCH | oklch(55.59% 0.145 312.7) |
| XYZ | xyz(22.5659, 15.6805, 42.3870) |
| Luminance | 0.1568 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.86
Amethyst
#9B5FC0
ΔE00 4.25
Royal Purple
#7851A9
ΔE00 5.38
Purply
#983FB2
ΔE00 5.40
Medium Purple
#9E43A2
ΔE00 5.89
Ugly Purple
#A442A0
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9056AF #75AF56
analogous
#6356AF #9056AF #AF56A1
triadic
#9056AF #AF9056 #56AF90
tetradic
#9056AF #AF6356 #75AF56 #56A1AF
square
#9056AF #AF6356 #75AF56 #56A1AF
split-complementary
#9056AF #A1AF56 #56AF63
monochromatic
#4D2D5E #6F4088 #9056AF #AB80C3 #C7A9D6
Accessibility & contrast
On white
5.08
#9056AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#9056AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9056AF
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9056AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9056AF | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#416BB2
Deuteranopia (green-blind)
#5270AD
Tritanopia (blue-blind)
#8D647A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9056af; /* rgb */ color: rgb(144, 86, 175); /* oklch */ color: oklch(55.6% 0.145 312.7);
Tailwind
colors: {
custom: {
50: '#b287c7',
500: '#9056af',
950: '#000000',
},
}SCSS
$custom: #9056af; $custom-light: #b287c7; $custom-dark: #000000;
JSON
{
"hex": "#9056af",
"rgb": {
"r": 144,
"g": 86,
"b": 175
},
"hsl": {
"h": 279.101,
"s": 35.743,
"l": 51.176
},
"oklch": {
"l": 0.55587,
"c": 0.14481,
"h": 312.7
},
"luminance": 0.1568
}Semantic roles & 50–950 ramp
primary
#9056AF
secondary
#AAC49D
accent
#CC5C83
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110B13
muted
#807C82