#845FCC#845FCC
#845FCC is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.5% C 0.163 H 296.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #845FCC |
|---|---|
| RGB | rgb(132, 95, 204) |
| HSL | hsl(260, 52%, 59%) |
| HSV | hsv(260, 53%, 80%) |
| CMYK | cmyk(35.3%, 53.4%, 0%, 20%) |
| CIE-LAB | lab(48.82, 38.83, -51.47) |
| CIE-LCH | lch(48.82, 64.47, 307.03°) |
| OKLab | oklab(57.49% 0.073 -0.1457) |
| OKLCH | oklch(57.49% 0.163 296.6) |
| XYZ | xyz(24.5043, 17.4492, 59.1920) |
| Luminance | 0.1745 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.14
Deep Lavender
#8D5EB7
ΔE00 4.77
Light Indigo
#6D5ACF
ΔE00 4.85
Slate Blue
#6A5ACD
ΔE00 5.35
Amethyst
#9B5FC0
ΔE00 5.96
Mediumpurple
#9370DB
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#845FCC #A7CC5F
analogous
#5F70CC #845FCC #BA5FCC
triadic
#845FCC #CC845F #5FCC84
tetradic
#845FCC #CC5F70 #A7CC5F #5FCCBA
square
#845FCC #CC5F70 #A7CC5F #5FCCBA
split-complementary
#845FCC #CCBA5F #70CC5F
monochromatic
#4A2B86 #6339B4 #845FCC #A88DDB #CBBCEA
Accessibility & contrast
On white
4.68
#845FCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#845FCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #845FCC
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##845FCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##845FCC | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3275D0
Deuteranopia (green-blind)
#3C73C9
Tritanopia (blue-blind)
#73758C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #845fcc; /* rgb */ color: rgb(132, 95, 204); /* oklch */ color: oklch(57.5% 0.163 296.6);
Tailwind
colors: {
custom: {
50: '#ab8ddc',
500: '#845fcc',
950: '#000000',
},
}SCSS
$custom: #845fcc; $custom-light: #ab8ddc; $custom-dark: #000000;
JSON
{
"hex": "#845fcc",
"rgb": {
"r": 132,
"g": 95,
"b": 204
},
"hsl": {
"h": 260.367,
"s": 51.659,
"l": 58.627
},
"oklch": {
"l": 0.57494,
"c": 0.16292,
"h": 296.6
},
"luminance": 0.1745
}Semantic roles & 50–950 ramp
primary
#845FCC
secondary
#CAD9AE
accent
#DB4DAB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83