#9740AF#9740AF
#9740AF is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.4% C 0.182 H 318.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9740AF |
|---|---|
| RGB | rgb(151, 64, 175) |
| HSL | hsl(287, 46%, 47%) |
| HSV | hsv(287, 63%, 69%) |
| CMYK | cmyk(13.7%, 63.4%, 0%, 31.4%) |
| CIE-LAB | lab(43.27, 53.04, -43.33) |
| CIE-LCH | lch(43.27, 68.49, 320.75°) |
| OKLab | oklab(53.38% 0.1361 -0.1212) |
| OKLCH | oklch(53.38% 0.182 318.3) |
| XYZ | xyz(22.3327, 13.3422, 41.9480) |
| Luminance | 0.1334 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 0.53
Medium Purple
#9E43A2
ΔE00 3.53
Barney
#AC1DB8
ΔE00 4.77
Ugly Purple
#A442A0
ΔE00 4.81
Darkorchid
#9932CC
ΔE00 5.04
Warm Purple
#952E8F
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9740AF #58AF40
analogous
#6040AF #9740AF #AF4090
triadic
#9740AF #AF9740 #40AF97
tetradic
#9740AF #AF6040 #58AF40 #4090AF
square
#9740AF #AF6040 #58AF40 #4090AF
split-complementary
#9740AF #90AF40 #40AF60
monochromatic
#4A1F55 #703082 #9740AF #B265C7 #C892D7
Accessibility & contrast
On white
5.72
#9740AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#9740AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9740AF
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9740AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9740AF | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E61B2
Deuteranopia (green-blind)
#4569AC
Tritanopia (blue-blind)
#975372
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #9740af; /* rgb */ color: rgb(151, 64, 175); /* oklch */ color: oklch(53.4% 0.182 318.3);
Tailwind
colors: {
custom: {
50: '#b97bc7',
500: '#9740af',
950: '#000000',
},
}SCSS
$custom: #9740af; $custom-light: #b97bc7; $custom-dark: #000000;
JSON
{
"hex": "#9740af",
"rgb": {
"r": 151,
"g": 64,
"b": 175
},
"hsl": {
"h": 287.027,
"s": 46.444,
"l": 46.863
},
"oklch": {
"l": 0.53381,
"c": 0.18221,
"h": 318.3
},
"luminance": 0.13341
}Semantic roles & 50–950 ramp
primary
#9740AF
secondary
#95C388
accent
#D6526E
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82