#9782BF#9782BF
#9782BF is a light, moderate violet. Relative luminance 0.263; OKLCH L 64.9% C 0.092 H 299.7°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9782BF |
|---|---|
| RGB | rgb(151, 130, 191) |
| HSL | hsl(261, 32%, 63%) |
| HSV | hsv(261, 32%, 75%) |
| CMYK | cmyk(20.9%, 31.9%, 0%, 25.1%) |
| CIE-LAB | lab(58.33, 20.62, -28.95) |
| CIE-LCH | lch(58.33, 35.54, 305.46°) |
| OKLab | oklab(64.88% 0.0455 -0.0799) |
| OKLCH | oklch(64.88% 0.092 299.7) |
| XYZ | xyz(30.1471, 26.3060, 52.7694) |
| Luminance | 0.2631 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 4.78
Deep Lilac
#966EBD
ΔE00 6.68
Heather
#A484AC
ΔE00 7.25
Pale Purple
#B790D4
ΔE00 7.26
Soft Purple
#A66FB5
ΔE00 7.95
Lavender
#B39DDB
ΔE00 8.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9782BF #AABF82
analogous
#828BBF #9782BF #B582BF
triadic
#9782BF #BF9782 #82BF97
tetradic
#9782BF #BF828B #AABF82 #82BFB5
square
#9782BF #BF828B #AABF82 #82BFB5
split-complementary
#9782BF #BFB582 #8BBF82
monochromatic
#594383 #755AAA #9782BF #B9AAD4 #DAD3E8
Accessibility & contrast
On white
3.35
#9782BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.26
#9782BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9782BF
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9782BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9782BF | 1.00 | 3.35 | 6.26 | 6.26 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#748CC1
Deuteranopia (green-blind)
#788CBD
Tritanopia (blue-blind)
#908C98
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #9782bf; /* rgb */ color: rgb(151, 130, 191); /* oklch */ color: oklch(64.9% 0.092 299.7);
Tailwind
colors: {
custom: {
50: '#b6a6d2',
500: '#9782bf',
950: '#000000',
},
}SCSS
$custom: #9782bf; $custom-light: #b6a6d2; $custom-dark: #000000;
JSON
{
"hex": "#9782bf",
"rgb": {
"r": 151,
"g": 130,
"b": 191
},
"hsl": {
"h": 260.656,
"s": 32.275,
"l": 62.941
},
"oklch": {
"l": 0.6488,
"c": 0.09198,
"h": 299.7
},
"luminance": 0.26306
}Semantic roles & 50–950 ramp
primary
#9782BF
secondary
#D2D9C3
accent
#AB3A84
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#110F14
muted
#807F82