#7154CE#7154CE
#7154CE is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.0% C 0.180 H 290.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #7154CE |
|---|---|
| RGB | rgb(113, 84, 206) |
| HSL | hsl(254, 55%, 57%) |
| HSV | hsv(254, 59%, 81%) |
| CMYK | cmyk(45.1%, 59.2%, 0%, 19.2%) |
| CIE-LAB | lab(44.67, 41.33, -59.39) |
| CIE-LCH | lch(44.67, 72.36, 304.83°) |
| OKLab | oklab(54.04% 0.0616 -0.1695) |
| OKLCH | oklch(54.04% 0.18 290) |
| XYZ | xyz(21.1178, 14.3068, 60.0294) |
| Luminance | 0.1431 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.99
Slate Blue
#6A5ACD
ΔE00 2.30
Iris
#6258C4
ΔE00 3.43
Dark Periwinkle
#665FD1
ΔE00 4.17
Purpley
#8756E4
ΔE00 4.98
Bluey Purple
#6241C7
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7154CE #B1CE54
analogous
#5474CE #7154CE #AE54CE
triadic
#7154CE #CE7154 #54CE71
tetradic
#7154CE #CE5474 #B1CE54 #54CEAE
square
#7154CE #CE5474 #B1CE54 #54CEAE
split-complementary
#7154CE #CEAE54 #74CE54
monochromatic
#3B2582 #5133B2 #7154CE #9984DC #C0B3E9
Accessibility & contrast
On white
5.44
#7154CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#7154CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7154CE
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7154CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7154CE | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#557089
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7154ce; /* rgb */ color: rgb(113, 84, 206); /* oklch */ color: oklch(54.0% 0.180 290.0);
Tailwind
colors: {
custom: {
50: '#a085de',
500: '#7154ce',
950: '#000000',
},
}SCSS
$custom: #7154ce; $custom-light: #a085de; $custom-dark: #000000;
JSON
{
"hex": "#7154ce",
"rgb": {
"r": 113,
"g": 84,
"b": 206
},
"hsl": {
"h": 254.262,
"s": 55.455,
"l": 56.863
},
"oklch": {
"l": 0.54039,
"c": 0.18038,
"h": 290
},
"luminance": 0.14308
}Semantic roles & 50–950 ramp
primary
#7154CE
secondary
#CCD8A6
accent
#DF49BB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83