#6B5FF2#6B5FF2
#6B5FF2 is a mid, highly saturated blue. Relative luminance 0.177; OKLCH L 58.0% C 0.212 H 281.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #6B5FF2 |
|---|---|
| RGB | rgb(107, 95, 242) |
| HSL | hsl(245, 85%, 66%) |
| HSV | hsv(245, 61%, 95%) |
| CMYK | cmyk(55.8%, 60.7%, 0%, 5.1%) |
| CIE-LAB | lab(49.15, 44.48, -72.56) |
| CIE-LCH | lch(49.15, 85.11, 301.51°) |
| OKLab | oklab(58.01% 0.0411 -0.2084) |
| OKLCH | oklch(58.01% 0.212 281.2) |
| XYZ | xyz(26.1776, 17.7193, 86.0279) |
| Luminance | 0.1772 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.57
Dark Periwinkle
#665FD1
ΔE00 4.62
Light Indigo
#6D5ACF
ΔE00 5.20
Slate Blue
#6A5ACD
ΔE00 5.45
Purpley
#8756E4
ΔE00 5.70
Warm Blue
#4B57DB
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B5FF2 #E6F25F
analogous
#5F9CF2 #6B5FF2 #B45FF2
triadic
#6B5FF2 #F26B5F #5FF26B
tetradic
#6B5FF2 #F25F9C #E6F25F #5FF2B4
square
#6B5FF2 #F25F9C #E6F25F #5FF2B4
split-complementary
#6B5FF2 #F2B45F #9CF25F
monochromatic
#1F10C6 #3726ED #6B5FF2 #9F98F7 #D4D0FB
Accessibility & contrast
On white
4.62
#6B5FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#6B5FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #6B5FF2
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B5FF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B5FF2 | 1.00 | 4.62 | 4.54 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#006FEF
Tritanopia (blue-blind)
#2383A0
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #6b5ff2; /* rgb */ color: rgb(107, 95, 242); /* oklch */ color: oklch(58.0% 0.212 281.2);
Tailwind
colors: {
custom: {
50: '#a18df7',
500: '#6b5ff2',
950: '#000000',
},
}SCSS
$custom: #6b5ff2; $custom-light: #a18df7; $custom-dark: #000000;
JSON
{
"hex": "#6b5ff2",
"rgb": {
"r": 107,
"g": 95,
"b": 242
},
"hsl": {
"h": 244.898,
"s": 84.971,
"l": 66.078
},
"oklch": {
"l": 0.5801,
"c": 0.21242,
"h": 281.2
},
"luminance": 0.17721
}Semantic roles & 50–950 ramp
primary
#6B5FF2
secondary
#EBEFBE
accent
#E104CF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85