#9749C7#9749C7
#9749C7 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 56.0% C 0.194 H 310.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9749C7 |
|---|---|
| RGB | rgb(151, 73, 199) |
| HSL | hsl(277, 53%, 53%) |
| HSV | hsv(277, 63%, 78%) |
| CMYK | cmyk(24.1%, 63.3%, 0%, 22%) |
| CIE-LAB | lab(46.27, 53.88, -52.56) |
| CIE-LCH | lch(46.27, 75.27, 315.71°) |
| OKLab | oklab(56.01% 0.1248 -0.1482) |
| OKLCH | oklch(56.01% 0.194 310.1) |
| XYZ | xyz(25.4519, 15.4684, 55.6667) |
| Luminance | 0.1547 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.04
Purply
#983FB2
ΔE00 4.21
Lightish Purple
#A552E6
ΔE00 5.89
Amethyst
#9B5FC0
ΔE00 5.92
Deep Lavender
#8D5EB7
ΔE00 5.97
Purpley
#8756E4
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9749C7 #79C749
analogous
#5849C7 #9749C7 #C749B8
triadic
#9749C7 #C79749 #49C797
tetradic
#9749C7 #C75849 #79C749 #49B8C7
square
#9749C7 #C75849 #79C749 #49B8C7
split-complementary
#9749C7 #B8C749 #49C758
monochromatic
#542372 #7732A1 #9749C7 #B278D5 #CCA7E4
Accessibility & contrast
On white
5.13
#9749C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#9749C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9749C7
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9749C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9749C7 | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#016ACB
Deuteranopia (green-blind)
#396FC4
Tritanopia (blue-blind)
#916281
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9749c7; /* rgb */ color: rgb(151, 73, 199); /* oklch */ color: oklch(56.0% 0.194 310.1);
Tailwind
colors: {
custom: {
50: '#b980d9',
500: '#9749c7',
950: '#000000',
},
}SCSS
$custom: #9749c7; $custom-light: #b980d9; $custom-dark: #000000;
JSON
{
"hex": "#9749c7",
"rgb": {
"r": 151,
"g": 73,
"b": 199
},
"hsl": {
"h": 277.143,
"s": 52.941,
"l": 53.333
},
"oklch": {
"l": 0.56012,
"c": 0.19377,
"h": 310.1
},
"luminance": 0.15468
}Semantic roles & 50–950 ramp
primary
#9749C7
secondary
#AFD19B
accent
#DC4B83
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B15
muted
#817C83