#7145CE#7145CE
#7145CE is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.8% C 0.200 H 292.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #7145CE |
|---|---|
| RGB | rgb(113, 69, 206) |
| HSL | hsl(259, 58%, 54%) |
| HSV | hsv(259, 67%, 81%) |
| CMYK | cmyk(45.1%, 66.5%, 0%, 19.2%) |
| CIE-LAB | lab(41.57, 49.63, -64.42) |
| CIE-LCH | lch(41.57, 81.33, 307.61°) |
| OKLab | oklab(51.79% 0.0776 -0.1843) |
| OKLCH | oklch(51.79% 0.2 292.8) |
| XYZ | xyz(20.0757, 12.2226, 59.6820) |
| Luminance | 0.1222 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.85
Bluish Purple
#703BE7
ΔE00 3.54
Burple
#6832E3
ΔE00 4.52
Purpleish Blue
#6140EF
ΔE00 4.74
Purpley Blue
#5F34E7
ΔE00 5.06
Blurple
#5539CC
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7145CE #A2CE45
analogous
#455ECE #7145CE #B645CE
triadic
#7145CE #CE7145 #45CE71
tetradic
#7145CE #CE455E #A2CE45 #45CEB6
square
#7145CE #CE455E #A2CE45 #45CEB6
split-complementary
#7145CE #CEB645 #5ECE45
monochromatic
#3C2079 #552DA9 #7145CE #9675DB #BBA6E8
Accessibility & contrast
On white
6.10
#7145CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#7145CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7145CE
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7145CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7145CE | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#566684
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7145ce; /* rgb */ color: rgb(113, 69, 206); /* oklch */ color: oklch(51.8% 0.200 292.8);
Tailwind
colors: {
custom: {
50: '#a17bde',
500: '#7145ce',
950: '#000000',
},
}SCSS
$custom: #7145ce; $custom-light: #a17bde; $custom-dark: #000000;
JSON
{
"hex": "#7145ce",
"rgb": {
"r": 113,
"g": 69,
"b": 206
},
"hsl": {
"h": 259.27,
"s": 58.298,
"l": 53.922
},
"oklch": {
"l": 0.51787,
"c": 0.19999,
"h": 292.8
},
"luminance": 0.12223
}Semantic roles & 50–950 ramp
primary
#7145CE
secondary
#C2D59A
accent
#E246B0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83