#945BCF#945BCF
#945BCF is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.7% C 0.176 H 304.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #945BCF |
|---|---|
| RGB | rgb(148, 91, 207) |
| HSL | hsl(269, 55%, 58%) |
| HSV | hsv(269, 56%, 81%) |
| CMYK | cmyk(28.5%, 56%, 0%, 18.8%) |
| CIE-LAB | lab(49.84, 45.77, -51.46) |
| CIE-LCH | lch(49.84, 68.87, 311.65°) |
| OKLab | oklab(58.69% 0.0986 -0.1452) |
| OKLCH | oklch(58.69% 0.176 304.2) |
| XYZ | xyz(27.2138, 18.2832, 61.1147) |
| Luminance | 0.1828 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.67
Deep Lavender
#8D5EB7
ΔE00 4.24
Lightish Purple
#A552E6
ΔE00 4.31
Purpley
#8756E4
ΔE00 4.59
Lighter Purple
#A55AF4
ΔE00 5.84
Mediumpurple
#9370DB
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#945BCF #96CF5B
analogous
#5B5CCF #945BCF #CE5BCF
triadic
#945BCF #CF945B #5BCF94
tetradic
#945BCF #CF5B5C #96CF5B #5BCFCE
square
#945BCF #CF5B5C #96CF5B #5BCFCE
split-complementary
#945BCF #CFCE5B #5CCF5B
monochromatic
#572888 #7536B7 #945BCF #B38ADD #D2BAEB
Accessibility & contrast
On white
4.51
#945BCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#945BCF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #945BCF
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##945BCF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##945BCF | 1.00 | 4.51 | 4.66 | 4.66 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E75D3
Deuteranopia (green-blind)
#4377CC
Tritanopia (blue-blind)
#8A718C
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #945bcf; /* rgb */ color: rgb(148, 91, 207); /* oklch */ color: oklch(58.7% 0.176 304.2);
Tailwind
colors: {
custom: {
50: '#b78bde',
500: '#945bcf',
950: '#000000',
},
}SCSS
$custom: #945bcf; $custom-light: #b78bde; $custom-dark: #000000;
JSON
{
"hex": "#945bcf",
"rgb": {
"r": 148,
"g": 91,
"b": 207
},
"hsl": {
"h": 269.483,
"s": 54.717,
"l": 58.431
},
"oklch": {
"l": 0.5869,
"c": 0.17552,
"h": 304.2
},
"luminance": 0.18283
}Semantic roles & 50–950 ramp
primary
#945BCF
secondary
#C3DAAC
accent
#DE4A95
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83