#6734C6#6734C6
#6734C6 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.9% C 0.210 H 292.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #6734C6 |
|---|---|
| RGB | rgb(103, 52, 198) |
| HSL | hsl(261, 58%, 49%) |
| HSV | hsv(261, 74%, 78%) |
| CMYK | cmyk(48%, 73.7%, 0%, 22.4%) |
| CIE-LAB | lab(36.77, 54.31, -67.65) |
| CIE-LCH | lch(36.77, 86.75, 308.76°) |
| OKLab | oklab(47.92% 0.0807 -0.1941) |
| OKLCH | oklch(47.92% 0.21 292.6) |
| XYZ | xyz(17.0117, 9.4162, 54.3363) |
| Luminance | 0.0942 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.97
Blurple
#5539CC
ΔE00 3.02
Blue With A Hint Of Purple
#533CC6
ΔE00 3.51
Purple Blue
#5D21D0
ΔE00 3.54
Burple
#6832E3
ΔE00 3.71
Purpley Blue
#5F34E7
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6734C6 #93C634
analogous
#344AC6 #6734C6 #B034C6
triadic
#6734C6 #C66734 #34C667
tetradic
#6734C6 #C6344A #93C634 #34C6B0
square
#6734C6 #C6344A #93C634 #34C6B0
split-complementary
#6734C6 #C6B034 #4AC634
monochromatic
#351B65 #4E2796 #6734C6 #8A62D6 #AE92E2
Accessibility & contrast
On white
7.28
#6734C6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#6734C6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6734C6
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6734C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6734C6 | 1.00 | 7.28 | 2.88 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058CA
Deuteranopia (green-blind)
#0054C3
Tritanopia (blue-blind)
#495B7A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #6734c6; /* rgb */ color: rgb(103, 52, 198); /* oklch */ color: oklch(47.9% 0.210 292.6);
Tailwind
colors: {
custom: {
50: '#9b70d8',
500: '#6734c6',
950: '#000000',
},
}SCSS
$custom: #6734c6; $custom-light: #9b70d8; $custom-dark: #000000;
JSON
{
"hex": "#6734c6",
"rgb": {
"r": 103,
"g": 52,
"b": 198
},
"hsl": {
"h": 260.959,
"s": 58.4,
"l": 49.02
},
"oklch": {
"l": 0.47924,
"c": 0.21016,
"h": 292.6
},
"luminance": 0.09417
}Semantic roles & 50–950 ramp
primary
#6734C6
secondary
#B5CD89
accent
#E246AB
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83