#6B4FF0#6B4FF0
#6B4FF0 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.4% C 0.229 H 284.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #6B4FF0 |
|---|---|
| RGB | rgb(107, 79, 240) |
| HSL | hsl(250, 84%, 63%) |
| HSV | hsv(250, 67%, 94%) |
| CMYK | cmyk(55.4%, 67.1%, 0%, 5.9%) |
| CIE-LAB | lab(45.64, 52.86, -77.16) |
| CIE-LCH | lch(45.64, 93.53, 304.41°) |
| OKLab | oklab(55.42% 0.0554 -0.2219) |
| OKLCH | oklch(55.42% 0.229 284) |
| XYZ | xyz(24.5828, 15.0076, 84.0226) |
| Luminance | 0.1501 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.82
Bluish Purple
#703BE7
ΔE00 4.79
Light Indigo
#6D5ACF
ΔE00 5.02
Purpley
#8756E4
ΔE00 5.12
Slate Blue
#6A5ACD
ΔE00 5.29
Dark Periwinkle
#665FD1
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B4FF0 #D4F04F
analogous
#4F83F0 #6B4FF0 #BC4FF0
triadic
#6B4FF0 #F06B4F #4FF06B
tetradic
#6B4FF0 #F04F83 #D4F04F #4FF0BC
square
#6B4FF0 #F04F83 #D4F04F #4FF0BC
split-complementary
#6B4FF0 #F0BC4F #83F04F
monochromatic
#2C0FB5 #3C17EB #6B4FF0 #9A87F5 #CAC0FA
Accessibility & contrast
On white
5.25
#6B4FF0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#6B4FF0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B4FF0
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B4FF0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B4FF0 | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071F5
Deuteranopia (green-blind)
#0067ED
Tritanopia (blue-blind)
#2A7999
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #6b4ff0; /* rgb */ color: rgb(107, 79, 240); /* oklch */ color: oklch(55.4% 0.229 284.0);
Tailwind
colors: {
custom: {
50: '#a182f6',
500: '#6b4ff0',
950: '#000000',
},
}SCSS
$custom: #6b4ff0; $custom-light: #a182f6; $custom-dark: #000000;
JSON
{
"hex": "#6b4ff0",
"rgb": {
"r": 107,
"g": 79,
"b": 240
},
"hsl": {
"h": 250.435,
"s": 84.293,
"l": 62.549
},
"oklch": {
"l": 0.55415,
"c": 0.22875,
"h": 284
},
"luminance": 0.15009
}Semantic roles & 50–950 ramp
primary
#6B4FF0
secondary
#E0EBB0
accent
#E105BA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85