#9746BF#9746BF
#9746BF is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.1% C 0.190 H 312.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #9746BF |
|---|---|
| RGB | rgb(151, 70, 191) |
| HSL | hsl(280, 49%, 51%) |
| HSV | hsv(280, 63%, 75%) |
| CMYK | cmyk(20.9%, 63.4%, 0%, 25.1%) |
| CIE-LAB | lab(45.25, 53.57, -49.55) |
| CIE-LCH | lch(45.25, 72.97, 317.23°) |
| OKLab | oklab(55.12% 0.1286 -0.1394) |
| OKLCH | oklch(55.12% 0.19 312.7) |
| XYZ | xyz(24.3550, 14.7219, 50.8388) |
| Luminance | 0.1472 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.71
Darkorchid
#9932CC
ΔE00 3.80
Medium Purple
#9E43A2
ΔE00 5.96
Barney
#AC1DB8
ΔE00 6.12
Deep Lavender
#8D5EB7
ΔE00 6.27
Amethyst
#9B5FC0
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9746BF #6EBF46
analogous
#5A46BF #9746BF #BF46AA
triadic
#9746BF #BF9746 #46BF97
tetradic
#9746BF #BF5A46 #6EBF46 #46AABF
square
#9746BF #BF5A46 #6EBF46 #46AABF
split-complementary
#9746BF #AABF46 #46BF5A
monochromatic
#512467 #743394 #9746BF #B173CF #CAA1DE
Accessibility & contrast
On white
5.32
#9746BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#9746BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9746BF
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9746BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9746BF | 1.00 | 5.32 | 3.94 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F67C3
Deuteranopia (green-blind)
#3E6DBC
Tritanopia (blue-blind)
#935D7C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9746bf; /* rgb */ color: rgb(151, 70, 191); /* oklch */ color: oklch(55.1% 0.190 312.7);
Tailwind
colors: {
custom: {
50: '#b97ed3',
500: '#9746bf',
950: '#000000',
},
}SCSS
$custom: #9746bf; $custom-light: #b97ed3; $custom-dark: #000000;
JSON
{
"hex": "#9746bf",
"rgb": {
"r": 151,
"g": 70,
"b": 191
},
"hsl": {
"h": 280.165,
"s": 48.594,
"l": 51.176
},
"oklch": {
"l": 0.55118,
"c": 0.18969,
"h": 312.7
},
"luminance": 0.14721
}Semantic roles & 50–950 ramp
primary
#9746BF
secondary
#A7CB96
accent
#D8507D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83