#7045CE#7045CE
#7045CE is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.200 H 292.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #7045CE |
|---|---|
| RGB | rgb(112, 69, 206) |
| HSL | hsl(259, 58%, 54%) |
| HSV | hsv(259, 67%, 81%) |
| CMYK | cmyk(45.6%, 66.5%, 0%, 19.2%) |
| CIE-LAB | lab(41.46, 49.45, -64.60) |
| CIE-LCH | lch(41.46, 81.35, 307.43°) |
| OKLab | oklab(51.69% 0.0762 -0.1849) |
| OKLCH | oklch(51.69% 0.2 292.4) |
| XYZ | xyz(19.9477, 12.1566, 59.6760) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.70
Bluish Purple
#703BE7
ΔE00 3.52
Burple
#6832E3
ΔE00 4.47
Purpleish Blue
#6140EF
ΔE00 4.66
Purpley Blue
#5F34E7
ΔE00 4.97
Blurple
#5539CC
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7045CE #A3CE45
analogous
#455FCE #7045CE #B545CE
triadic
#7045CE #CE7045 #45CE70
tetradic
#7045CE #CE455F #A3CE45 #45CEB5
square
#7045CE #CE455F #A3CE45 #45CEB5
split-complementary
#7045CE #CEB545 #5FCE45
monochromatic
#3C2079 #542DA9 #7045CE #9575DB #BAA6E8
Accessibility & contrast
On white
6.12
#7045CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#7045CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7045CE
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7045CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7045CE | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#546684
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7045ce; /* rgb */ color: rgb(112, 69, 206); /* oklch */ color: oklch(51.7% 0.200 292.4);
Tailwind
colors: {
custom: {
50: '#a07bde',
500: '#7045ce',
950: '#000000',
},
}SCSS
$custom: #7045ce; $custom-light: #a07bde; $custom-dark: #000000;
JSON
{
"hex": "#7045ce",
"rgb": {
"r": 112,
"g": 69,
"b": 206
},
"hsl": {
"h": 258.832,
"s": 58.298,
"l": 53.922
},
"oklch": {
"l": 0.51688,
"c": 0.19996,
"h": 292.4
},
"luminance": 0.12157
}Semantic roles & 50–950 ramp
primary
#7045CE
secondary
#C2D59A
accent
#E246B1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83