#6B4FC6#6B4FC6
#6B4FC6 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.1% C 0.177 H 289.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #6B4FC6 |
|---|---|
| RGB | rgb(107, 79, 198) |
| HSL | hsl(254, 51%, 54%) |
| HSV | hsv(254, 60%, 78%) |
| CMYK | cmyk(46%, 60.1%, 0%, 22.4%) |
| CIE-LAB | lab(42.45, 40.66, -58.39) |
| CIE-LCH | lch(42.45, 71.15, 304.85°) |
| OKLab | oklab(52.1% 0.0596 -0.1668) |
| OKLCH | oklch(52.1% 0.177 289.7) |
| XYZ | xyz(19.0495, 12.7943, 54.8810) |
| Luminance | 0.1280 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.38
Slate Blue
#6A5ACD
ΔE00 3.46
Light Indigo
#6D5ACF
ΔE00 3.50
Bluey Purple
#6241C7
ΔE00 3.89
Dark Periwinkle
#665FD1
ΔE00 5.35
Bluish Purple
#703BE7
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B4FC6 #AAC64F
analogous
#4F6FC6 #6B4FC6 #A74FC6
triadic
#6B4FC6 #C66B4F #4FC66B
tetradic
#6B4FC6 #C64F6F #AAC64F #4FC6A7
square
#6B4FC6 #C64F6F #AAC64F #4FC6A7
split-complementary
#6B4FC6 #C6A74F #6FC64F
monochromatic
#382675 #4F35A3 #6B4FC6 #927DD5 #B9ABE4
Accessibility & contrast
On white
5.90
#6B4FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#6B4FC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B4FC6
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B4FC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B4FC6 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CA
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#4F6A83
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6b4fc6; /* rgb */ color: rgb(107, 79, 198); /* oklch */ color: oklch(52.1% 0.177 289.7);
Tailwind
colors: {
custom: {
50: '#9c81d8',
500: '#6b4fc6',
950: '#000000',
},
}SCSS
$custom: #6b4fc6; $custom-light: #9c81d8; $custom-dark: #000000;
JSON
{
"hex": "#6b4fc6",
"rgb": {
"r": 107,
"g": 79,
"b": 198
},
"hsl": {
"h": 254.118,
"s": 51.073,
"l": 54.314
},
"oklch": {
"l": 0.52103,
"c": 0.1771,
"h": 289.7
},
"luminance": 0.12795
}Semantic roles & 50–950 ramp
primary
#6B4FC6
secondary
#C6D29F
accent
#DB4DB9
background
#FAF8FD
surface
#F3EFFA
border
#CDCAD3
text
#0F0A15
muted
#7F7C83