#948BB3#948BB3
#948BB3 is a light, muted violet. Relative luminance 0.280; OKLCH L 65.9% C 0.059 H 295.0°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #948BB3 |
|---|---|
| RGB | rgb(148, 139, 179) |
| HSL | hsl(254, 21%, 62%) |
| HSV | hsv(254, 22%, 70%) |
| CMYK | cmyk(17.3%, 22.3%, 0%, 29.8%) |
| CIE-LAB | lab(59.90, 11.67, -19.73) |
| CIE-LCH | lch(59.90, 22.93, 300.60°) |
| OKLab | oklab(65.88% 0.0252 -0.0539) |
| OKLCH | oklch(65.88% 0.06 295) |
| XYZ | xyz(29.5803, 28.0156, 46.4882) |
| Luminance | 0.2802 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Heather
#A484AC
ΔE00 6.82
Purpley Grey
#947E94
ΔE00 8.64
Lavender
#B39DDB
ΔE00 8.99
Dusty Lavender
#AC86A8
ΔE00 9.05
Wisteria
#A87DC2
ΔE00 9.09
Pale Purple
#B790D4
ΔE00 9.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948BB3 #AAB38B
analogous
#8B96B3 #948BB3 #A88BB3
triadic
#948BB3 #B3948B #8BB394
tetradic
#948BB3 #B38B96 #AAB38B #8BB3A8
square
#948BB3 #B38B96 #AAB38B #8BB3A8
split-complementary
#948BB3 #B3A88B #96B38B
monochromatic
#574D76 #72669B #948BB3 #B6B0CB #D8D5E3
Accessibility & contrast
On white
3.18
#948BB3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.60
#948BB3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948BB3
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948BB3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948BB3 | 1.00 | 3.18 | 6.60 | 6.60 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8291B5
Deuteranopia (green-blind)
#8390B2
Tritanopia (blue-blind)
#8E9199
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #948bb3; /* rgb */ color: rgb(148, 139, 179); /* oklch */ color: oklch(65.9% 0.059 295.0);
Tailwind
colors: {
custom: {
50: '#b3acc9',
500: '#948bb3',
950: '#000000',
},
}SCSS
$custom: #948bb3; $custom-light: #b3acc9; $custom-dark: #000000;
JSON
{
"hex": "#948bb3",
"rgb": {
"r": 148,
"g": 139,
"b": 179
},
"hsl": {
"h": 253.5,
"s": 20.833,
"l": 62.353
},
"oklch": {
"l": 0.65877,
"c": 0.0595,
"h": 295
},
"luminance": 0.28016
}Semantic roles & 50–950 ramp
primary
#948BB3
secondary
#D1D4C6
accent
#9F468B
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82