#9745BE#9745BE
#9745BE is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.9% C 0.190 H 313.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #9745BE |
|---|---|
| RGB | rgb(151, 69, 190) |
| HSL | hsl(281, 48%, 51%) |
| HSV | hsv(281, 64%, 75%) |
| CMYK | cmyk(20.5%, 63.7%, 0%, 25.5%) |
| CIE-LAB | lab(45.02, 53.83, -49.35) |
| CIE-LCH | lch(45.02, 73.02, 317.49°) |
| OKLab | oklab(54.93% 0.1299 -0.1388) |
| OKLCH | oklch(54.93% 0.19 313.1) |
| XYZ | xyz(24.1833, 14.5539, 50.2405) |
| Luminance | 0.1455 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.45
Darkorchid
#9932CC
ΔE00 3.71
Medium Purple
#9E43A2
ΔE00 5.79
Barney
#AC1DB8
ΔE00 5.91
Deep Lavender
#8D5EB7
ΔE00 6.45
Amethyst
#9B5FC0
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9745BE #6CBE45
analogous
#5A45BE #9745BE #BE45A8
triadic
#9745BE #BE9745 #45BE97
tetradic
#9745BE #BE5A45 #6CBE45 #45A8BE
square
#9745BE #BE5A45 #6CBE45 #45A8BE
split-complementary
#9745BE #A8BE45 #45BE5A
monochromatic
#502365 #743393 #9745BE #B072CE #CAA0DE
Accessibility & contrast
On white
5.37
#9745BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#9745BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9745BE
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9745BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9745BE | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E66C2
Deuteranopia (green-blind)
#3E6CBB
Tritanopia (blue-blind)
#935C7B
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #9745be; /* rgb */ color: rgb(151, 69, 190); /* oklch */ color: oklch(54.9% 0.190 313.1);
Tailwind
colors: {
custom: {
50: '#b97ed2',
500: '#9745be',
950: '#000000',
},
}SCSS
$custom: #9745be; $custom-light: #b97ed2; $custom-dark: #000000;
JSON
{
"hex": "#9745be",
"rgb": {
"r": 151,
"g": 69,
"b": 190
},
"hsl": {
"h": 280.661,
"s": 48.207,
"l": 50.784
},
"oklch": {
"l": 0.54929,
"c": 0.19006,
"h": 313.1
},
"luminance": 0.14553
}Semantic roles & 50–950 ramp
primary
#9745BE
secondary
#A6CA95
accent
#D8507C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83