#9749C2#9749C2
#9749C2 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.7% C 0.189 H 311.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #9749C2 |
|---|---|
| RGB | rgb(151, 73, 194) |
| HSL | hsl(279, 50%, 52%) |
| HSV | hsv(279, 62%, 76%) |
| CMYK | cmyk(22.2%, 62.4%, 0%, 23.9%) |
| CIE-LAB | lab(45.96, 52.78, -50.16) |
| CIE-LCH | lch(45.96, 72.81, 316.46°) |
| OKLab | oklab(55.69% 0.1249 -0.1412) |
| OKLCH | oklch(55.69% 0.189 311.5) |
| XYZ | xyz(24.8809, 15.2400, 52.6594) |
| Luminance | 0.1524 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.51
Darkorchid
#9932CC
ΔE00 4.20
Deep Lavender
#8D5EB7
ΔE00 5.75
Amethyst
#9B5FC0
ΔE00 5.81
Medium Purple
#9E43A2
ΔE00 6.50
Lightish Purple
#A552E6
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9749C2 #74C249
analogous
#5B49C2 #9749C2 #C249B0
triadic
#9749C2 #C29749 #49C297
tetradic
#9749C2 #C25B49 #74C249 #49B0C2
square
#9749C2 #C25B49 #74C249 #49B0C2
split-complementary
#9749C2 #B0C249 #49C25B
monochromatic
#53246C #76349A #9749C2 #B177D1 #CBA5E1
Accessibility & contrast
On white
5.19
#9749C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#9749C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9749C2
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9749C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9749C2 | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1369C6
Deuteranopia (green-blind)
#3E6EBF
Tritanopia (blue-blind)
#92607F
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #9749c2; /* rgb */ color: rgb(151, 73, 194); /* oklch */ color: oklch(55.7% 0.189 311.5);
Tailwind
colors: {
custom: {
50: '#b980d5',
500: '#9749c2',
950: '#000000',
},
}SCSS
$custom: #9749c2; $custom-light: #b980d5; $custom-dark: #000000;
JSON
{
"hex": "#9749c2",
"rgb": {
"r": 151,
"g": 73,
"b": 194
},
"hsl": {
"h": 278.678,
"s": 49.794,
"l": 52.353
},
"oklch": {
"l": 0.55691,
"c": 0.18854,
"h": 311.5
},
"luminance": 0.15239
}Semantic roles & 50–950 ramp
primary
#9749C2
secondary
#ACCE99
accent
#D94E80
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83