#523CBD#523CBD
#523CBD is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.2% C 0.192 H 283.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #523CBD |
|---|---|
| RGB | rgb(82, 60, 189) |
| HSL | hsl(250, 52%, 49%) |
| HSV | hsv(250, 68%, 74%) |
| CMYK | cmyk(56.6%, 68.3%, 0%, 25.9%) |
| CIE-LAB | lab(35.40, 44.25, -64.71) |
| CIE-LCH | lch(35.40, 78.40, 304.37°) |
| OKLab | oklab(46.21% 0.0456 -0.1862) |
| OKLCH | oklch(46.21% 0.192 283.8) |
| XYZ | xyz(14.2780, 8.6988, 49.0609) |
| Luminance | 0.0870 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 1.24
Ocean Blue
#4F42B5
ΔE00 2.08
Blurple
#5539CC
ΔE00 2.15
Bluey Purple
#6241C7
ΔE00 3.08
Purple Blue
#5D21D0
ΔE00 5.46
Blue Blue
#2242C7
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#523CBD #A7BD3C
analogous
#3C67BD #523CBD #933CBD
triadic
#523CBD #BD523C #3CBD52
tetradic
#523CBD #BD3C67 #A7BD3C #3CBD93
square
#523CBD #BD3C67 #A7BD3C #3CBD93
split-complementary
#523CBD #BD933C #67BD3C
monochromatic
#2A1F60 #3E2D8F #523CBD #7967CF #A296DE
Accessibility & contrast
On white
7.66
#523CBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#523CBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #523CBD
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##523CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##523CBD | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#1C5D78
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #523cbd; /* rgb */ color: rgb(82, 60, 189); /* oklch */ color: oklch(46.2% 0.192 283.8);
Tailwind
colors: {
custom: {
50: '#8d73d2',
500: '#523cbd',
950: '#000000',
},
}SCSS
$custom: #523cbd; $custom-light: #8d73d2; $custom-dark: #000000;
JSON
{
"hex": "#523cbd",
"rgb": {
"r": 82,
"g": 60,
"b": 189
},
"hsl": {
"h": 250.233,
"s": 51.807,
"l": 48.824
},
"oklch": {
"l": 0.46212,
"c": 0.19168,
"h": 283.8
},
"luminance": 0.087
}Semantic roles & 50–950 ramp
primary
#523CBD
secondary
#BFC98C
accent
#DB4DC3
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83