#945BCE#945BCE
#945BCE is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.6% C 0.174 H 304.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #945BCE |
|---|---|
| RGB | rgb(148, 91, 206) |
| HSL | hsl(270, 54%, 58%) |
| HSV | hsv(270, 56%, 81%) |
| CMYK | cmyk(28.2%, 55.8%, 0%, 19.2%) |
| CIE-LAB | lab(49.78, 45.53, -50.99) |
| CIE-LCH | lch(49.78, 68.35, 311.76°) |
| OKLab | oklab(58.63% 0.0986 -0.1438) |
| OKLCH | oklch(58.63% 0.174 304.4) |
| XYZ | xyz(27.0920, 18.2344, 60.4729) |
| Luminance | 0.1823 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.54
Deep Lavender
#8D5EB7
ΔE00 4.09
Lightish Purple
#A552E6
ΔE00 4.42
Purpley
#8756E4
ΔE00 4.72
Lighter Purple
#A55AF4
ΔE00 5.98
Mediumpurple
#9370DB
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#945BCE #95CE5B
analogous
#5B5BCE #945BCE #CD5BCE
triadic
#945BCE #CE945B #5BCE94
tetradic
#945BCE #CE5B5B #95CE5B #5BCECD
square
#945BCE #CE5B5B #95CE5B #5BCECD
split-complementary
#945BCE #CECD5B #5BCE5B
monochromatic
#572886 #7536B6 #945BCE #B38ADC #D1B9EA
Accessibility & contrast
On white
4.52
#945BCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#945BCE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #945BCE
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##945BCE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##945BCE | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F75D2
Deuteranopia (green-blind)
#4476CB
Tritanopia (blue-blind)
#8A718C
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #945bce; /* rgb */ color: rgb(148, 91, 206); /* oklch */ color: oklch(58.6% 0.174 304.4);
Tailwind
colors: {
custom: {
50: '#b78bdd',
500: '#945bce',
950: '#000000',
},
}SCSS
$custom: #945bce; $custom-light: #b78bdd; $custom-dark: #000000;
JSON
{
"hex": "#945bce",
"rgb": {
"r": 148,
"g": 91,
"b": 206
},
"hsl": {
"h": 269.739,
"s": 53.991,
"l": 58.235
},
"oklch": {
"l": 0.58628,
"c": 0.17435,
"h": 304.4
},
"luminance": 0.18234
}Semantic roles & 50–950 ramp
primary
#945BCE
secondary
#C3D9AB
accent
#DD4A95
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83