#9745B2#9745B2
#9745B2 is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.2% C 0.178 H 316.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #9745B2 |
|---|---|
| RGB | rgb(151, 69, 178) |
| HSL | hsl(285, 44%, 48%) |
| HSV | hsv(285, 61%, 70%) |
| CMYK | cmyk(15.2%, 61.2%, 0%, 30.2%) |
| CIE-LAB | lab(44.31, 51.30, -43.46) |
| CIE-LCH | lch(44.31, 67.23, 319.73°) |
| OKLab | oklab(54.19% 0.1299 -0.1216) |
| OKLCH | oklch(54.19% 0.178 316.9) |
| XYZ | xyz(22.9253, 14.0508, 43.6153) |
| Luminance | 0.1405 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.20
Medium Purple
#9E43A2
ΔE00 3.81
Ugly Purple
#A442A0
ΔE00 5.06
Darkorchid
#9932CC
ΔE00 5.14
Barney
#AC1DB8
ΔE00 5.51
Deep Lavender
#8D5EB7
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9745B2 #60B245
analogous
#6045B2 #9745B2 #B24596
triadic
#9745B2 #B29745 #45B297
tetradic
#9745B2 #B26045 #60B245 #4596B2
square
#9745B2 #B26045 #60B245 #4596B2
split-complementary
#9745B2 #96B245 #45B260
monochromatic
#4C235A #723486 #9745B2 #B16EC7 #C89AD8
Accessibility & contrast
On white
5.51
#9745B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#9745B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9745B2
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9745B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9745B2 | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2564B5
Deuteranopia (green-blind)
#476BAF
Tritanopia (blue-blind)
#965875
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #9745b2; /* rgb */ color: rgb(151, 69, 178); /* oklch */ color: oklch(54.2% 0.178 316.9);
Tailwind
colors: {
custom: {
50: '#b87dc9',
500: '#9745b2',
950: '#000000',
},
}SCSS
$custom: #9745b2; $custom-light: #b87dc9; $custom-dark: #000000;
JSON
{
"hex": "#9745b2",
"rgb": {
"r": 151,
"g": 69,
"b": 178
},
"hsl": {
"h": 285.138,
"s": 44.13,
"l": 48.431
},
"oklch": {
"l": 0.54185,
"c": 0.17794,
"h": 316.9
},
"luminance": 0.1405
}Semantic roles & 50–950 ramp
primary
#9745B2
secondary
#9CC48F
accent
#D45474
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82