#6D4FF2#6D4FF2
#6D4FF2 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.7% C 0.231 H 284.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #6D4FF2 |
|---|---|
| RGB | rgb(109, 79, 242) |
| HSL | hsl(251, 86%, 63%) |
| HSV | hsv(251, 67%, 95%) |
| CMYK | cmyk(55%, 67.4%, 0%, 5.1%) |
| CIE-LAB | lab(45.98, 53.74, -77.73) |
| CIE-LCH | lch(45.98, 94.50, 304.66°) |
| OKLab | oklab(55.75% 0.0577 -0.2236) |
| OKLCH | oklch(55.75% 0.231 284.5) |
| XYZ | xyz(25.1248, 15.2525, 85.6073) |
| Luminance | 0.1525 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 4.03
Bluish Purple
#703BE7
ΔE00 4.89
Purpley
#8756E4
ΔE00 4.90
Light Indigo
#6D5ACF
ΔE00 5.21
Slate Blue
#6A5ACD
ΔE00 5.51
Dark Periwinkle
#665FD1
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D4FF2 #D4F24F
analogous
#4F82F2 #6D4FF2 #BE4FF2
triadic
#6D4FF2 #F26D4F #4FF26D
tetradic
#6D4FF2 #F24F82 #D4F24F #4FF2BE
square
#6D4FF2 #F24F82 #D4F24F #4FF2BE
split-complementary
#6D4FF2 #F2BE4F #82F24F
monochromatic
#2D0EB9 #3E16EE #6D4FF2 #9C88F6 #CCC1FA
Accessibility & contrast
On white
5.18
#6D4FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#6D4FF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6D4FF2
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D4FF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D4FF2 | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072F7
Deuteranopia (green-blind)
#0068EF
Tritanopia (blue-blind)
#2E799A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #6d4ff2; /* rgb */ color: rgb(109, 79, 242); /* oklch */ color: oklch(55.7% 0.231 284.5);
Tailwind
colors: {
custom: {
50: '#a383f8',
500: '#6d4ff2',
950: '#000000',
},
}SCSS
$custom: #6d4ff2; $custom-light: #a383f8; $custom-dark: #000000;
JSON
{
"hex": "#6d4ff2",
"rgb": {
"r": 109,
"g": 79,
"b": 242
},
"hsl": {
"h": 251.043,
"s": 86.243,
"l": 62.941
},
"oklch": {
"l": 0.55747,
"c": 0.2309,
"h": 284.5
},
"luminance": 0.15254
}Semantic roles & 50–950 ramp
primary
#6D4FF2
secondary
#E1ECB1
accent
#E303BA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85