#845CF7#845CF7
#845CF7 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.0% C 0.220 H 290.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #845CF7 |
|---|---|
| RGB | rgb(132, 92, 247) |
| HSL | hsl(255, 91%, 66%) |
| HSV | hsv(255, 63%, 97%) |
| CMYK | cmyk(46.6%, 62.8%, 0%, 3.1%) |
| CIE-LAB | lab(51.01, 52.09, -72.25) |
| CIE-LCH | lch(51.01, 89.07, 305.79°) |
| OKLab | oklab(59.99% 0.0753 -0.2067) |
| OKLCH | oklch(59.99% 0.22 290) |
| XYZ | xyz(30.1266, 19.2741, 90.1106) |
| Luminance | 0.1928 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.30
Mediumslateblue
#7B68EE
ΔE00 3.66
Lighter Purple
#A55AF4
ΔE00 5.76
Lightish Purple
#A552E6
ΔE00 6.73
Light Indigo
#6D5ACF
ΔE00 6.88
Mediumpurple
#9370DB
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#845CF7 #CFF75C
analogous
#5C82F7 #845CF7 #D25CF7
triadic
#845CF7 #F7845C #5CF784
tetradic
#845CF7 #F75C82 #CFF75C #5CF7D2
square
#845CF7 #F75C82 #CFF75C #5CF7D2
split-complementary
#845CF7 #F7D25C #82F75C
monochromatic
#3D0ACE #5822F4 #845CF7 #B096FA #DCD1FD
Accessibility & contrast
On white
4.33
#845CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#845CF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #845CF7
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##845CF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##845CF7 | 1.00 | 4.33 | 4.86 | 4.86 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CFC
Deuteranopia (green-blind)
#0076F4
Tritanopia (blue-blind)
#5F81A1
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #845cf7; /* rgb */ color: rgb(132, 92, 247); /* oklch */ color: oklch(60.0% 0.220 290.0);
Tailwind
colors: {
custom: {
50: '#b08cfb',
500: '#845cf7',
950: '#000000',
},
}SCSS
$custom: #845cf7; $custom-light: #b08cfb; $custom-dark: #000000;
JSON
{
"hex": "#845cf7",
"rgb": {
"r": 132,
"g": 92,
"b": 247
},
"hsl": {
"h": 255.484,
"s": 90.643,
"l": 66.471
},
"oklch": {
"l": 0.59992,
"c": 0.22003,
"h": 290
},
"luminance": 0.19275
}Semantic roles & 50–950 ramp
primary
#845CF7
secondary
#E4F1BE
accent
#E600AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85