#9A74C8#9A74C8
#9A74C8 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.0% C 0.128 H 303.8°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9A74C8 |
|---|---|
| RGB | rgb(154, 116, 200) |
| HSL | hsl(267, 43%, 62%) |
| HSV | hsv(267, 42%, 78%) |
| CMYK | cmyk(23%, 42%, 0%, 21.6%) |
| CIE-LAB | lab(55.62, 31.73, -38.27) |
| CIE-LCH | lch(55.62, 49.71, 309.66°) |
| OKLab | oklab(63.02% 0.0714 -0.1066) |
| OKLCH | oklch(63.02% 0.128 303.8) |
| XYZ | xyz(29.9949, 23.5310, 57.5941) |
| Luminance | 0.2353 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 2.55
Mediumpurple
#9370DB
ΔE00 4.48
Wisteria
#A87DC2
ΔE00 4.93
Soft Purple
#A66FB5
ΔE00 5.78
Amethyst
#9B5FC0
ΔE00 6.29
Deep Lavender
#8D5EB7
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A74C8 #A2C874
analogous
#7478C8 #9A74C8 #C474C8
triadic
#9A74C8 #C89A74 #74C89A
tetradic
#9A74C8 #C87478 #A2C874 #74C8C4
square
#9A74C8 #C87478 #A2C874 #74C8C4
split-complementary
#9A74C8 #C8C474 #78C874
monochromatic
#5D378B #7A48B7 #9A74C8 #BAA0D9 #DACCEB
Accessibility & contrast
On white
3.68
#9A74C8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.71
#9A74C8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A74C8
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A74C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A74C8 | 1.00 | 3.68 | 5.71 | 5.71 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F84CB
Deuteranopia (green-blind)
#6885C6
Tritanopia (blue-blind)
#928294
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #9a74c8; /* rgb */ color: rgb(154, 116, 200); /* oklch */ color: oklch(63.0% 0.128 303.8);
Tailwind
colors: {
custom: {
50: '#b99cd9',
500: '#9a74c8',
950: '#000000',
},
}SCSS
$custom: #9a74c8; $custom-light: #b99cd9; $custom-dark: #000000;
JSON
{
"hex": "#9a74c8",
"rgb": {
"r": 154,
"g": 116,
"b": 200
},
"hsl": {
"h": 267.143,
"s": 43.299,
"l": 61.961
},
"oklch": {
"l": 0.63017,
"c": 0.12832,
"h": 303.8
},
"luminance": 0.23531
}Semantic roles & 50–950 ramp
primary
#9A74C8
secondary
#CDDBBC
accent
#B62F79
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120E14
muted
#817E83