#7154C2#7154C2
#7154C2 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.2% C 0.165 H 292.0°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7154C2 |
|---|---|
| RGB | rgb(113, 84, 194) |
| HSL | hsl(256, 47%, 55%) |
| HSV | hsv(256, 57%, 76%) |
| CMYK | cmyk(41.8%, 56.7%, 0%, 23.9%) |
| CIE-LAB | lab(43.87, 37.93, -53.75) |
| CIE-LCH | lch(43.87, 65.79, 305.21°) |
| OKLab | oklab(53.19% 0.0618 -0.153) |
| OKLCH | oklch(53.19% 0.165 292) |
| XYZ | xyz(19.7153, 13.7458, 52.6429) |
| Luminance | 0.1375 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.95
Slate Blue
#6A5ACD
ΔE00 3.04
Iris
#6258C4
ΔE00 3.39
Dark Periwinkle
#665FD1
ΔE00 4.93
Royal Purple
#7851A9
ΔE00 5.07
Bluey Purple
#6241C7
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7154C2 #A5C254
analogous
#546EC2 #7154C2 #A854C2
triadic
#7154C2 #C27154 #54C271
tetradic
#7154C2 #C2546E #A5C254 #54C2A8
square
#7154C2 #C2546E #A5C254 #54C2A8
split-complementary
#7154C2 #C2A854 #6EC254
monochromatic
#3C2973 #5439A0 #7154C2 #9681D2 #BCAEE2
Accessibility & contrast
On white
5.60
#7154C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#7154C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7154C2
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7154C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7154C2 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1669C6
Deuteranopia (green-blind)
#1F65C0
Tritanopia (blue-blind)
#5B6C83
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7154c2; /* rgb */ color: rgb(113, 84, 194); /* oklch */ color: oklch(53.2% 0.165 292.0);
Tailwind
colors: {
custom: {
50: '#9f85d5',
500: '#7154c2',
950: '#000000',
},
}SCSS
$custom: #7154c2; $custom-light: #9f85d5; $custom-dark: #000000;
JSON
{
"hex": "#7154c2",
"rgb": {
"r": 113,
"g": 84,
"b": 194
},
"hsl": {
"h": 255.818,
"s": 47.414,
"l": 54.51
},
"oklch": {
"l": 0.53192,
"c": 0.16495,
"h": 292
},
"luminance": 0.13746
}Semantic roles & 50–950 ramp
primary
#7154C2
secondary
#C4D0A2
accent
#D751B4
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83