#7154BF#7154BF
#7154BF is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.0% C 0.161 H 292.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7154BF |
|---|---|
| RGB | rgb(113, 84, 191) |
| HSL | hsl(256, 46%, 54%) |
| HSV | hsv(256, 56%, 75%) |
| CMYK | cmyk(40.8%, 56%, 0%, 25.1%) |
| CIE-LAB | lab(43.67, 37.09, -52.32) |
| CIE-LCH | lch(43.67, 64.14, 305.33°) |
| OKLab | oklab(52.99% 0.0617 -0.1488) |
| OKLCH | oklch(52.99% 0.161 292.5) |
| XYZ | xyz(19.3818, 13.6124, 50.8864) |
| Luminance | 0.1361 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.32
Slate Blue
#6A5ACD
ΔE00 3.37
Iris
#6258C4
ΔE00 3.55
Royal Purple
#7851A9
ΔE00 4.63
Dark Periwinkle
#665FD1
ΔE00 5.22
Bluey Purple
#6241C7
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7154BF #A2BF54
analogous
#546DBF #7154BF #A754BF
triadic
#7154BF #BF7154 #54BF71
tetradic
#7154BF #BF546D #A2BF54 #54BFA7
square
#7154BF #BF546D #A2BF54 #54BFA7
split-complementary
#7154BF #BFA754 #6DBF54
monochromatic
#3C2A6F #553A9C #7154BF #9681D0 #BBADE0
Accessibility & contrast
On white
5.64
#7154BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#7154BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7154BF
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7154BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7154BF | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C69C3
Deuteranopia (green-blind)
#2565BD
Tritanopia (blue-blind)
#5C6B81
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7154bf; /* rgb */ color: rgb(113, 84, 191); /* oklch */ color: oklch(53.0% 0.161 292.5);
Tailwind
colors: {
custom: {
50: '#9e85d3',
500: '#7154bf',
950: '#000000',
},
}SCSS
$custom: #7154bf; $custom-light: #9e85d3; $custom-dark: #000000;
JSON
{
"hex": "#7154bf",
"rgb": {
"r": 113,
"g": 84,
"b": 191
},
"hsl": {
"h": 256.262,
"s": 45.532,
"l": 53.922
},
"oklch": {
"l": 0.52987,
"c": 0.16106,
"h": 292.5
},
"luminance": 0.13613
}Semantic roles & 50–950 ramp
primary
#7154BF
secondary
#C2CEA1
accent
#D553B2
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83