#9746C1#9746C1
#9746C1 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.2% C 0.192 H 312.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #9746C1 |
|---|---|
| RGB | rgb(151, 70, 193) |
| HSL | hsl(280, 50%, 52%) |
| HSV | hsv(280, 64%, 76%) |
| CMYK | cmyk(21.8%, 63.7%, 0%, 24.3%) |
| CIE-LAB | lab(45.37, 54.00, -50.52) |
| CIE-LCH | lch(45.37, 73.95, 316.91°) |
| OKLab | oklab(55.25% 0.1286 -0.1422) |
| OKLCH | oklch(55.25% 0.192 312.1) |
| XYZ | xyz(24.5766, 14.8105, 52.0058) |
| Luminance | 0.1481 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.00
Darkorchid
#9932CC
ΔE00 3.66
Barney
#AC1DB8
ΔE00 6.25
Medium Purple
#9E43A2
ΔE00 6.28
Deep Lavender
#8D5EB7
ΔE00 6.31
Amethyst
#9B5FC0
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9746C1 #70C146
analogous
#5A46C1 #9746C1 #C146AE
triadic
#9746C1 #C19746 #46C197
tetradic
#9746C1 #C15A46 #70C146 #46AEC1
square
#9746C1 #C15A46 #70C146 #46AEC1
split-complementary
#9746C1 #AEC146 #46C15A
monochromatic
#512369 #753397 #9746C1 #B174D0 #CBA2E0
Accessibility & contrast
On white
5.30
#9746C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#9746C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9746C1
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9746C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9746C1 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0867C5
Deuteranopia (green-blind)
#3C6DBE
Tritanopia (blue-blind)
#925E7D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9746c1; /* rgb */ color: rgb(151, 70, 193); /* oklch */ color: oklch(55.2% 0.192 312.1);
Tailwind
colors: {
custom: {
50: '#b97ed4',
500: '#9746c1',
950: '#000000',
},
}SCSS
$custom: #9746c1; $custom-light: #b97ed4; $custom-dark: #000000;
JSON
{
"hex": "#9746c1",
"rgb": {
"r": 151,
"g": 70,
"b": 193
},
"hsl": {
"h": 279.512,
"s": 49.798,
"l": 51.569
},
"oklch": {
"l": 0.55246,
"c": 0.19173,
"h": 312.1
},
"luminance": 0.1481
}Semantic roles & 50–950 ramp
primary
#9746C1
secondary
#A9CC96
accent
#D94E7E
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83