#9748C8#9748C8
#9748C8 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 56.0% C 0.196 H 309.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9748C8 |
|---|---|
| RGB | rgb(151, 72, 200) |
| HSL | hsl(277, 54%, 53%) |
| HSV | hsv(277, 64%, 78%) |
| CMYK | cmyk(24.5%, 64%, 0%, 21.6%) |
| CIE-LAB | lab(46.16, 54.58, -53.32) |
| CIE-LCH | lch(46.16, 76.30, 315.67°) |
| OKLab | oklab(55.95% 0.1259 -0.1505) |
| OKLCH | oklch(55.95% 0.196 309.9) |
| XYZ | xyz(25.5032, 15.3847, 56.2584) |
| Luminance | 0.1538 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.82
Purply
#983FB2
ΔE00 4.25
Lightish Purple
#A552E6
ΔE00 5.89
Amethyst
#9B5FC0
ΔE00 6.16
Deep Lavender
#8D5EB7
ΔE00 6.20
Purpley
#8756E4
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9748C8 #79C848
analogous
#5748C8 #9748C8 #C848B9
triadic
#9748C8 #C89748 #48C897
tetradic
#9748C8 #C85748 #79C848 #48B9C8
square
#9748C8 #C85748 #79C848 #48B9C8
split-complementary
#9748C8 #B9C848 #48C857
monochromatic
#542373 #7731A2 #9748C8 #B277D6 #CCA6E4
Accessibility & contrast
On white
5.15
#9748C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#9748C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9748C8
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9748C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9748C8 | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#376FC5
Tritanopia (blue-blind)
#906282
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #9748c8; /* rgb */ color: rgb(151, 72, 200); /* oklch */ color: oklch(56.0% 0.196 309.9);
Tailwind
colors: {
custom: {
50: '#b980d9',
500: '#9748c8',
950: '#000000',
},
}SCSS
$custom: #9748c8; $custom-light: #b980d9; $custom-dark: #000000;
JSON
{
"hex": "#9748c8",
"rgb": {
"r": 151,
"g": 72,
"b": 200
},
"hsl": {
"h": 277.031,
"s": 53.782,
"l": 53.333
},
"oklch": {
"l": 0.55951,
"c": 0.19619,
"h": 309.9
},
"luminance": 0.15384
}Semantic roles & 50–950 ramp
primary
#9748C8
secondary
#AFD19A
accent
#DD4B83
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83