#945FBC#945FBC
#945FBC is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.2% C 0.147 H 308.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #945FBC |
|---|---|
| RGB | rgb(148, 95, 188) |
| HSL | hsl(274, 41%, 55%) |
| HSV | hsv(274, 49%, 74%) |
| CMYK | cmyk(21.3%, 49.5%, 0%, 26.3%) |
| CIE-LAB | lab(49.63, 39.08, -40.86) |
| CIE-LCH | lch(49.63, 56.54, 313.73°) |
| OKLab | oklab(58.2% 0.0919 -0.1142) |
| OKLCH | oklch(58.2% 0.147 308.8) |
| XYZ | xyz(25.3803, 18.1115, 49.7260) |
| Luminance | 0.1811 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.49
Deep Lavender
#8D5EB7
ΔE00 1.60
Deep Lilac
#966EBD
ΔE00 4.64
Lightish Purple
#A552E6
ΔE00 7.20
Soft Purple
#A66FB5
ΔE00 7.28
Royal Purple
#7851A9
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#945FBC #87BC5F
analogous
#665FBC #945FBC #BC5FB5
triadic
#945FBC #BC945F #5FBC94
tetradic
#945FBC #BC665F #87BC5F #5FB5BC
square
#945FBC #BC665F #87BC5F #5FB5BC
split-complementary
#945FBC #B5BC5F #5FBC66
monochromatic
#552F71 #75419C #945FBC #B18ACE #CEB5E0
Accessibility & contrast
On white
4.54
#945FBC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#945FBC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #945FBC
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##945FBC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##945FBC | 1.00 | 4.54 | 4.62 | 4.62 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4774BF
Deuteranopia (green-blind)
#5677BA
Tritanopia (blue-blind)
#8F6F85
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #945fbc; /* rgb */ color: rgb(148, 95, 188); /* oklch */ color: oklch(58.2% 0.147 308.8);
Tailwind
colors: {
custom: {
50: '#b58ed0',
500: '#945fbc',
950: '#000000',
},
}SCSS
$custom: #945fbc; $custom-light: #b58ed0; $custom-dark: #000000;
JSON
{
"hex": "#945fbc",
"rgb": {
"r": 148,
"g": 95,
"b": 188
},
"hsl": {
"h": 274.194,
"s": 40.969,
"l": 55.49
},
"oklch": {
"l": 0.58196,
"c": 0.14663,
"h": 308.8
},
"luminance": 0.18111
}Semantic roles & 50–950 ramp
primary
#945FBC
secondary
#B9CFA8
accent
#D1578B
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82