#6A47DC#6A47DC
#6A47DC is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.5% C 0.214 H 287.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #6A47DC |
|---|---|
| RGB | rgb(106, 71, 220) |
| HSL | hsl(254, 68%, 57%) |
| HSV | hsv(254, 68%, 86%) |
| CMYK | cmyk(51.8%, 67.7%, 0%, 13.7%) |
| CIE-LAB | lab(42.36, 51.24, -71.20) |
| CIE-LCH | lch(42.36, 87.72, 305.74°) |
| OKLab | oklab(52.54% 0.064 -0.2045) |
| OKLCH | oklch(52.54% 0.214 287.4) |
| XYZ | xyz(21.1116, 12.7369, 69.0423) |
| Luminance | 0.1274 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 2.70
Purpleish Blue
#6140EF
ΔE00 2.74
Bluey Purple
#6241C7
ΔE00 3.59
Burple
#6832E3
ΔE00 4.17
Purpley Blue
#5F34E7
ΔE00 4.21
Blurple
#5539CC
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A47DC #B9DC47
analogous
#476FDC #6A47DC #B547DC
triadic
#6A47DC #DC6A47 #47DC6A
tetradic
#6A47DC #DC476F #B9DC47 #47DCB5
square
#6A47DC #DC476F #B9DC47 #47DCB5
split-complementary
#6A47DC #DCB547 #6FDC47
monochromatic
#361B8E #4925C1 #6A47DC #947AE6 #BDAEF0
Accessibility & contrast
On white
5.92
#6A47DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#6A47DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A47DC
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A47DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A47DC | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068E1
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#3E6D8C
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6a47dc; /* rgb */ color: rgb(106, 71, 220); /* oklch */ color: oklch(52.5% 0.214 287.4);
Tailwind
colors: {
custom: {
50: '#9f7de8',
500: '#6a47dc',
950: '#000000',
},
}SCSS
$custom: #6a47dc; $custom-light: #9f7de8; $custom-dark: #000000;
JSON
{
"hex": "#6a47dc",
"rgb": {
"r": 106,
"g": 71,
"b": 220
},
"hsl": {
"h": 254.094,
"s": 68.037,
"l": 57.059
},
"oklch": {
"l": 0.52538,
"c": 0.21424,
"h": 287.4
},
"luminance": 0.12738
}Semantic roles & 50–950 ramp
primary
#6A47DC
secondary
#CFDEA1
accent
#EB3DC2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84