#7154C8#7154C8
#7154C8 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.6% C 0.173 H 290.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7154C8 |
|---|---|
| RGB | rgb(113, 84, 200) |
| HSL | hsl(255, 51%, 56%) |
| HSV | hsv(255, 58%, 78%) |
| CMYK | cmyk(43.5%, 58%, 0%, 21.6%) |
| CIE-LAB | lab(44.26, 39.63, -56.59) |
| CIE-LCH | lch(44.26, 69.08, 305.00°) |
| OKLab | oklab(53.61% 0.0617 -0.1613) |
| OKLCH | oklch(53.61% 0.173 290.9) |
| XYZ | xyz(20.4028, 14.0208, 56.2637) |
| Luminance | 0.1402 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.33
Slate Blue
#6A5ACD
ΔE00 2.52
Iris
#6258C4
ΔE00 3.28
Dark Periwinkle
#665FD1
ΔE00 4.47
Purpley
#8756E4
ΔE00 5.55
Bluey Purple
#6241C7
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7154C8 #ABC854
analogous
#5471C8 #7154C8 #AB54C8
triadic
#7154C8 #C87154 #54C871
tetradic
#7154C8 #C85471 #ABC854 #54C8AB
square
#7154C8 #C85471 #ABC854 #54C8AB
split-complementary
#7154C8 #C8AB54 #71C854
monochromatic
#3C277A #5336A9 #7154C8 #9782D7 #BEB1E6
Accessibility & contrast
On white
5.52
#7154C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#7154C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7154C8
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7154C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7154C8 | 1.00 | 5.52 | 3.80 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCC
Deuteranopia (green-blind)
#1066C5
Tritanopia (blue-blind)
#586E86
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7154c8; /* rgb */ color: rgb(113, 84, 200); /* oklch */ color: oklch(53.6% 0.173 290.9);
Tailwind
colors: {
custom: {
50: '#9f85d9',
500: '#7154c8',
950: '#000000',
},
}SCSS
$custom: #7154c8; $custom-light: #9f85d9; $custom-dark: #000000;
JSON
{
"hex": "#7154c8",
"rgb": {
"r": 113,
"g": 84,
"b": 200
},
"hsl": {
"h": 255,
"s": 51.327,
"l": 55.686
},
"oklch": {
"l": 0.53611,
"c": 0.17271,
"h": 290.9
},
"luminance": 0.14021
}Semantic roles & 50–950 ramp
primary
#7154C8
secondary
#C8D4A4
accent
#DB4DB7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83