#9748C0#9748C0
#9748C0 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.4% C 0.188 H 312.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #9748C0 |
|---|---|
| RGB | rgb(151, 72, 192) |
| HSL | hsl(280, 49%, 52%) |
| HSV | hsv(280, 63%, 75%) |
| CMYK | cmyk(21.4%, 62.5%, 0%, 24.7%) |
| CIE-LAB | lab(45.66, 52.82, -49.48) |
| CIE-LCH | lch(45.66, 72.38, 316.87°) |
| OKLab | oklab(55.44% 0.1262 -0.1392) |
| OKLCH | oklch(55.44% 0.188 312.2) |
| XYZ | xyz(24.5926, 15.0204, 51.4627) |
| Luminance | 0.1502 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.10
Darkorchid
#9932CC
ΔE00 4.12
Deep Lavender
#8D5EB7
ΔE00 5.89
Amethyst
#9B5FC0
ΔE00 6.01
Medium Purple
#9E43A2
ΔE00 6.15
Barney
#AC1DB8
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9748C0 #71C048
analogous
#5B48C0 #9748C0 #C048AD
triadic
#9748C0 #C09748 #48C097
tetradic
#9748C0 #C05B48 #71C048 #48ADC0
square
#9748C0 #C05B48 #71C048 #48ADC0
split-complementary
#9748C0 #ADC048 #48C05B
monochromatic
#522469 #753497 #9748C0 #B176D0 #CBA3DF
Accessibility & contrast
On white
5.24
#9748C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#9748C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9748C0
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9748C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9748C0 | 1.00 | 5.24 | 4.00 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1568C4
Deuteranopia (green-blind)
#3F6EBD
Tritanopia (blue-blind)
#925F7D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9748c0; /* rgb */ color: rgb(151, 72, 192); /* oklch */ color: oklch(55.4% 0.188 312.2);
Tailwind
colors: {
custom: {
50: '#b980d4',
500: '#9748c0',
950: '#000000',
},
}SCSS
$custom: #9748c0; $custom-light: #b980d4; $custom-dark: #000000;
JSON
{
"hex": "#9748c0",
"rgb": {
"r": 151,
"g": 72,
"b": 192
},
"hsl": {
"h": 279.5,
"s": 48.78,
"l": 51.765
},
"oklch": {
"l": 0.55435,
"c": 0.18788,
"h": 312.2
},
"luminance": 0.1502
}Semantic roles & 50–950 ramp
primary
#9748C0
secondary
#AACC98
accent
#D84F7E
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120A14
muted
#817C83