#6345E6#6345E6
#6345E6 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.5% C 0.229 H 283.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #6345E6 |
|---|---|
| RGB | rgb(99, 69, 230) |
| HSL | hsl(251, 76%, 59%) |
| HSV | hsv(251, 70%, 90%) |
| CMYK | cmyk(57%, 70%, 0%, 9.8%) |
| CIE-LAB | lab(42.19, 54.10, -77.21) |
| CIE-LCH | lch(42.19, 94.27, 305.02°) |
| OKLab | oklab(52.52% 0.0544 -0.2223) |
| OKLCH | oklch(52.52% 0.229 283.8) |
| XYZ | xyz(21.5523, 12.6207, 76.1479) |
| Luminance | 0.1262 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 1.35
Bluish Purple
#703BE7
ΔE00 2.63
Purpley Blue
#5F34E7
ΔE00 3.53
Burple
#6832E3
ΔE00 3.90
Bluey Purple
#6241C7
ΔE00 4.36
Blurple
#5539CC
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6345E6 #C8E645
analogous
#4577E6 #6345E6 #B345E6
triadic
#6345E6 #E66345 #45E663
tetradic
#6345E6 #E64577 #C8E645 #45E6B3
square
#6345E6 #E64577 #C8E645 #45E6B3
split-complementary
#6345E6 #E6B345 #77E645
monochromatic
#2E159C #3E1CD2 #6345E6 #907BED #BDB1F5
Accessibility & contrast
On white
5.96
#6345E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#6345E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6345E6
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6345E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6345E6 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068EB
Deuteranopia (green-blind)
#005EE3
Tritanopia (blue-blind)
#1A7091
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6345e6; /* rgb */ color: rgb(99, 69, 230); /* oklch */ color: oklch(52.5% 0.229 283.8);
Tailwind
colors: {
custom: {
50: '#9c7bef',
500: '#6345e6',
950: '#000000',
},
}SCSS
$custom: #6345e6; $custom-light: #9c7bef; $custom-dark: #000000;
JSON
{
"hex": "#6345e6",
"rgb": {
"r": 99,
"g": 69,
"b": 230
},
"hsl": {
"h": 251.18,
"s": 76.303,
"l": 58.627
},
"oklch": {
"l": 0.52515,
"c": 0.22885,
"h": 283.8
},
"luminance": 0.12622
}Semantic roles & 50–950 ramp
primary
#6345E6
secondary
#D7E3A4
accent
#F335CF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85