#6A2CC6#6A2CC6
#6A2CC6 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.4% C 0.218 H 294.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2CC6 |
|---|---|
| RGB | rgb(106, 44, 198) |
| HSL | hsl(264, 64%, 47%) |
| HSV | hsv(264, 78%, 78%) |
| CMYK | cmyk(46.5%, 77.8%, 0%, 22.4%) |
| CIE-LAB | lab(35.87, 58.31, -69.11) |
| CIE-LCH | lch(35.87, 90.43, 310.16°) |
| OKLab | oklab(47.37% 0.0915 -0.1982) |
| OKLCH | oklch(47.37% 0.218 294.8) |
| XYZ | xyz(17.0348, 8.9423, 54.2436) |
| Luminance | 0.0894 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.79
Blurple
#5539CC
ΔE00 4.07
Burple
#6832E3
ΔE00 4.15
Bluey Purple
#6241C7
ΔE00 4.43
Blue With A Hint Of Purple
#533CC6
ΔE00 4.68
Purply Blue
#661AEE
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2CC6 #88C62C
analogous
#2C3BC6 #6A2CC6 #B72CC6
triadic
#6A2CC6 #C66A2C #2CC66A
tetradic
#6A2CC6 #C62C3B #88C62C #2CC6B7
square
#6A2CC6 #C62C3B #88C62C #2CC6B7
split-complementary
#6A2CC6 #C6B72C #3BC62C
monochromatic
#341662 #4F2194 #6A2CC6 #8B56D9 #AD88E5
Accessibility & contrast
On white
7.53
#6A2CC6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#6A2CC6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2CC6
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2CC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2CC6 | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#0052C3
Tritanopia (blue-blind)
#4F5779
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #6a2cc6; /* rgb */ color: rgb(106, 44, 198); /* oklch */ color: oklch(47.4% 0.218 294.8);
Tailwind
colors: {
custom: {
50: '#9d6dd8',
500: '#6a2cc6',
950: '#000000',
},
}SCSS
$custom: #6a2cc6; $custom-light: #9d6dd8; $custom-dark: #000000;
JSON
{
"hex": "#6a2cc6",
"rgb": {
"r": 106,
"g": 44,
"b": 198
},
"hsl": {
"h": 264.156,
"s": 63.636,
"l": 47.451
},
"oklch": {
"l": 0.47371,
"c": 0.21829,
"h": 294.8
},
"luminance": 0.08943
}Semantic roles & 50–950 ramp
primary
#6A2CC6
secondary
#AFCE80
accent
#E741A4
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#0F0715
muted
#7F7A83