#6856DF#6856DF
#6856DF is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.9% C 0.200 H 283.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #6856DF |
|---|---|
| RGB | rgb(104, 86, 223) |
| HSL | hsl(248, 68%, 61%) |
| HSV | hsv(248, 61%, 87%) |
| CMYK | cmyk(53.4%, 61.4%, 0%, 12.5%) |
| CIE-LAB | lab(45.53, 43.40, -67.75) |
| CIE-LCH | lch(45.53, 80.46, 302.64°) |
| OKLab | oklab(54.86% 0.047 -0.1944) |
| OKLCH | oklch(54.86% 0.2 283.6) |
| XYZ | xyz(22.3519, 14.9251, 71.5008) |
| Luminance | 0.1493 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.58
Slate Blue
#6A5ACD
ΔE00 2.73
Dark Periwinkle
#665FD1
ΔE00 3.30
Iris
#6258C4
ΔE00 4.02
Warm Blue
#4B57DB
ΔE00 4.43
Purpley
#8756E4
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6856DF #CDDF56
analogous
#5688DF #6856DF #AC56DF
triadic
#6856DF #DF6856 #56DF68
tetradic
#6856DF #DF5688 #CDDF56 #56DFAC
square
#6856DF #DF5688 #CDDF56 #56DFAC
split-complementary
#6856DF #DFAC56 #88DF56
monochromatic
#2E1E9D #3E27D0 #6856DF #9689E9 #C4BDF2
Accessibility & contrast
On white
5.27
#6856DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#6856DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6856DF
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6856DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6856DF | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#0067DC
Tritanopia (blue-blind)
#347792
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #6856df; /* rgb */ color: rgb(104, 86, 223); /* oklch */ color: oklch(54.9% 0.200 283.6);
Tailwind
colors: {
custom: {
50: '#9d86ea',
500: '#6856df',
950: '#000000',
},
}SCSS
$custom: #6856df; $custom-light: #9d86ea; $custom-dark: #000000;
JSON
{
"hex": "#6856df",
"rgb": {
"r": 104,
"g": 86,
"b": 223
},
"hsl": {
"h": 247.883,
"s": 68.159,
"l": 60.588
},
"oklch": {
"l": 0.5486,
"c": 0.19999,
"h": 283.6
},
"luminance": 0.14926
}Semantic roles & 50–950 ramp
primary
#6856DF
secondary
#DCE2AE
accent
#D015B8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84