#6D4BBB#6D4BBB
#6D4BBB is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.9% C 0.169 H 293.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #6D4BBB |
|---|---|
| RGB | rgb(109, 75, 187) |
| HSL | hsl(258, 45%, 51%) |
| HSV | hsv(258, 60%, 73%) |
| CMYK | cmyk(41.7%, 59.9%, 0%, 26.7%) |
| CIE-LAB | lab(41.01, 40.28, -54.30) |
| CIE-LCH | lch(41.01, 67.61, 306.57°) |
| OKLab | oklab(50.85% 0.0672 -0.1547) |
| OKLCH | oklch(50.85% 0.169 293.5) |
| XYZ | xyz(17.7900, 11.8708, 48.3580) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.69
Royal Purple
#7851A9
ΔE00 4.75
Iris
#6258C4
ΔE00 4.93
Slate Blue
#6A5ACD
ΔE00 5.34
Light Indigo
#6D5ACF
ΔE00 5.38
Ocean Blue
#4F42B5
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D4BBB #99BB4B
analogous
#4B61BB #6D4BBB #A54BBB
triadic
#6D4BBB #BB6D4B #4BBB6D
tetradic
#6D4BBB #BB4B61 #99BB4B #4BBBA5
square
#6D4BBB #BB4B61 #99BB4B #4BBBA5
split-complementary
#6D4BBB #BBA54B #61BB4B
monochromatic
#392665 #533792 #6D4BBB #9177CC #B5A4DD
Accessibility & contrast
On white
6.22
#6D4BBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#6D4BBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6D4BBB
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D4BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D4BBB | 1.00 | 6.22 | 3.37 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#0B5FB9
Tritanopia (blue-blind)
#58647C
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #6d4bbb; /* rgb */ color: rgb(109, 75, 187); /* oklch */ color: oklch(50.9% 0.169 293.5);
Tailwind
colors: {
custom: {
50: '#9c7fd0',
500: '#6d4bbb',
950: '#000000',
},
}SCSS
$custom: #6d4bbb; $custom-light: #9c7fd0; $custom-dark: #000000;
JSON
{
"hex": "#6d4bbb",
"rgb": {
"r": 109,
"g": 75,
"b": 187
},
"hsl": {
"h": 258.214,
"s": 45.161,
"l": 51.373
},
"oklch": {
"l": 0.50852,
"c": 0.16868,
"h": 293.5
},
"luminance": 0.11871
}Semantic roles & 50–950 ramp
primary
#6D4BBB
secondary
#BBCA98
accent
#D553AD
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82