#6856E5#6856E5
#6856E5 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.3% C 0.208 H 283.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #6856E5 |
|---|---|
| RGB | rgb(104, 86, 229) |
| HSL | hsl(248, 73%, 62%) |
| HSV | hsv(248, 62%, 90%) |
| CMYK | cmyk(54.6%, 62.4%, 0%, 10.2%) |
| CIE-LAB | lab(45.98, 45.21, -70.42) |
| CIE-LCH | lch(45.98, 83.68, 302.70°) |
| OKLab | oklab(55.33% 0.0466 -0.2022) |
| OKLCH | oklch(55.33% 0.208 283) |
| XYZ | xyz(23.1752, 15.2544, 75.8367) |
| Luminance | 0.1526 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.25
Slate Blue
#6A5ACD
ΔE00 3.45
Dark Periwinkle
#665FD1
ΔE00 3.75
Warm Blue
#4B57DB
ΔE00 4.62
Iris
#6258C4
ΔE00 4.77
Purpley
#8756E4
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6856E5 #D3E556
analogous
#568CE5 #6856E5 #AF56E5
triadic
#6856E5 #E56856 #56E568
tetradic
#6856E5 #E5568C #D3E556 #56E5AF
square
#6856E5 #E5568C #D3E556 #56E5AF
split-complementary
#6856E5 #E5AF56 #8CE556
monochromatic
#2B1AA7 #3922DC #6856E5 #978BED #C7C0F5
Accessibility & contrast
On white
5.18
#6856E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#6856E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6856E5
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6856E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6856E5 | 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)
#0072EA
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#2D7996
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #6856e5; /* rgb */ color: rgb(104, 86, 229); /* oklch */ color: oklch(55.3% 0.208 283.0);
Tailwind
colors: {
custom: {
50: '#9e87ee',
500: '#6856e5',
950: '#000000',
},
}SCSS
$custom: #6856e5; $custom-light: #9e87ee; $custom-dark: #000000;
JSON
{
"hex": "#6856e5",
"rgb": {
"r": 104,
"g": 86,
"b": 229
},
"hsl": {
"h": 247.552,
"s": 73.333,
"l": 61.765
},
"oklch": {
"l": 0.55329,
"c": 0.20753,
"h": 283
},
"luminance": 0.15256
}Semantic roles & 50–950 ramp
primary
#6856E5
secondary
#DFE6B1
accent
#D510BD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84