#9056CA#9056CA
#9056CA is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.2% C 0.176 H 304.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9056CA |
|---|---|
| RGB | rgb(144, 86, 202) |
| HSL | hsl(270, 52%, 56%) |
| HSV | hsv(270, 57%, 79%) |
| CMYK | cmyk(28.7%, 57.4%, 0%, 20.8%) |
| CIE-LAB | lab(48.07, 46.27, -51.45) |
| CIE-LCH | lch(48.07, 69.20, 311.96°) |
| OKLab | oklab(57.19% 0.0998 -0.1452) |
| OKLCH | oklch(57.19% 0.176 304.5) |
| XYZ | xyz(25.4877, 16.8492, 57.7752) |
| Luminance | 0.1685 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.03
Amethyst
#9B5FC0
ΔE00 4.34
Purpley
#8756E4
ΔE00 4.62
Lightish Purple
#A552E6
ΔE00 5.17
Royal Purple
#7851A9
ΔE00 6.76
Purply
#983FB2
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9056CA #90CA56
analogous
#5656CA #9056CA #CA56CA
triadic
#9056CA #CA9056 #56CA90
tetradic
#9056CA #CA5656 #90CA56 #56CACA
square
#9056CA #CA5656 #90CA56 #56CACA
split-complementary
#9056CA #CACA56 #56CA56
monochromatic
#53287E #7136AD #9056CA #AF85D9 #CDB3E7
Accessibility & contrast
On white
4.81
#9056CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#9056CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9056CA
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9056CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9056CA | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2671CE
Deuteranopia (green-blind)
#3E72C7
Tritanopia (blue-blind)
#866D88
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9056ca; /* rgb */ color: rgb(144, 86, 202); /* oklch */ color: oklch(57.2% 0.176 304.5);
Tailwind
colors: {
custom: {
50: '#b488db',
500: '#9056ca',
950: '#000000',
},
}SCSS
$custom: #9056ca; $custom-light: #b488db; $custom-dark: #000000;
JSON
{
"hex": "#9056ca",
"rgb": {
"r": 144,
"g": 86,
"b": 202
},
"hsl": {
"h": 270,
"s": 52.252,
"l": 56.471
},
"oklch": {
"l": 0.57195,
"c": 0.17621,
"h": 304.5
},
"luminance": 0.16849
}Semantic roles & 50–950 ramp
primary
#9056CA
secondary
#BED6A6
accent
#DC4C94
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83