#945CCB#945CCB
#945CCB is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.6% C 0.169 H 305.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #945CCB |
|---|---|
| RGB | rgb(148, 92, 203) |
| HSL | hsl(270, 52%, 58%) |
| HSV | hsv(270, 55%, 80%) |
| CMYK | cmyk(27.1%, 54.7%, 0%, 20.4%) |
| CIE-LAB | lab(49.81, 44.27, -49.21) |
| CIE-LCH | lch(49.81, 66.19, 311.97°) |
| OKLab | oklab(58.6% 0.0972 -0.1386) |
| OKLCH | oklch(58.6% 0.169 305) |
| XYZ | xyz(26.8171, 18.2621, 58.6005) |
| Luminance | 0.1826 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.03
Deep Lavender
#8D5EB7
ΔE00 3.59
Lightish Purple
#A552E6
ΔE00 4.83
Purpley
#8756E4
ΔE00 5.23
Deep Lilac
#966EBD
ΔE00 6.25
Mediumpurple
#9370DB
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#945CCB #93CB5C
analogous
#5C5CCB #945CCB #CB5CCB
triadic
#945CCB #CB945C #5CCB94
tetradic
#945CCB #CB5C5C #93CB5C #5CCBCB
square
#945CCB #CB5C5C #93CB5C #5CCBCB
split-complementary
#945CCB #CBCB5C #5CCB5C
monochromatic
#572A83 #7539B1 #945CCB #B28ADA #D1B9E9
Accessibility & contrast
On white
4.51
#945CCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#945CCB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #945CCB
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##945CCB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##945CCB | 1.00 | 4.51 | 4.65 | 4.65 |
| #FFFFFF | 4.51 | 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)
#3575CF
Deuteranopia (green-blind)
#4877C8
Tritanopia (blue-blind)
#8B718B
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #945ccb; /* rgb */ color: rgb(148, 92, 203); /* oklch */ color: oklch(58.6% 0.169 305.0);
Tailwind
colors: {
custom: {
50: '#b68cdb',
500: '#945ccb',
950: '#000000',
},
}SCSS
$custom: #945ccb; $custom-light: #b68cdb; $custom-dark: #000000;
JSON
{
"hex": "#945ccb",
"rgb": {
"r": 148,
"g": 92,
"b": 203
},
"hsl": {
"h": 270.27,
"s": 51.628,
"l": 57.843
},
"oklch": {
"l": 0.58596,
"c": 0.16929,
"h": 305
},
"luminance": 0.18262
}Semantic roles & 50–950 ramp
primary
#945CCB
secondary
#C1D8AB
accent
#DB4D93
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83