#6745E6#6745E6
#6745E6 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.9% C 0.228 H 285.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #6745E6 |
|---|---|
| RGB | rgb(103, 69, 230) |
| HSL | hsl(253, 76%, 59%) |
| HSV | hsv(253, 70%, 90%) |
| CMYK | cmyk(55.2%, 70%, 0%, 9.8%) |
| CIE-LAB | lab(42.54, 54.67, -76.61) |
| CIE-LCH | lch(42.54, 94.12, 305.51°) |
| OKLab | oklab(52.85% 0.0599 -0.2204) |
| OKLCH | oklch(52.85% 0.228 285.2) |
| XYZ | xyz(22.0002, 12.8517, 76.1689) |
| Luminance | 0.1285 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 1.51
Bluish Purple
#703BE7
ΔE00 2.31
Purpley Blue
#5F34E7
ΔE00 3.68
Burple
#6832E3
ΔE00 3.88
Bluey Purple
#6241C7
ΔE00 4.46
Blurple
#5539CC
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6745E6 #C4E645
analogous
#4573E6 #6745E6 #B745E6
triadic
#6745E6 #E66745 #45E667
tetradic
#6745E6 #E64573 #C4E645 #45E6B7
square
#6745E6 #E64573 #C4E645 #45E6B7
split-complementary
#6745E6 #E6B745 #73E645
monochromatic
#31159C #421CD2 #6745E6 #937BED #BFB1F5
Accessibility & contrast
On white
5.88
#6745E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#6745E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6745E6
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6745E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6745E6 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069EB
Deuteranopia (green-blind)
#005FE3
Tritanopia (blue-blind)
#2B7091
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6745e6; /* rgb */ color: rgb(103, 69, 230); /* oklch */ color: oklch(52.9% 0.228 285.2);
Tailwind
colors: {
custom: {
50: '#9e7cef',
500: '#6745e6',
950: '#000000',
},
}SCSS
$custom: #6745e6; $custom-light: #9e7cef; $custom-dark: #000000;
JSON
{
"hex": "#6745e6",
"rgb": {
"r": 103,
"g": 69,
"b": 230
},
"hsl": {
"h": 252.671,
"s": 76.303,
"l": 58.627
},
"oklch": {
"l": 0.52852,
"c": 0.22842,
"h": 285.2
},
"luminance": 0.12853
}Semantic roles & 50–950 ramp
primary
#6745E6
secondary
#D6E3A4
accent
#F335CB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85