#7254BF#7254BF
#7254BF is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.1% C 0.161 H 293.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7254BF |
|---|---|
| RGB | rgb(114, 84, 191) |
| HSL | hsl(257, 46%, 54%) |
| HSV | hsv(257, 56%, 75%) |
| CMYK | cmyk(40.3%, 56%, 0%, 25.1%) |
| CIE-LAB | lab(43.77, 37.33, -52.16) |
| CIE-LCH | lch(43.77, 64.14, 305.59°) |
| OKLab | oklab(53.08% 0.063 -0.1482) |
| OKLCH | oklch(53.08% 0.161 293) |
| XYZ | xyz(19.5112, 13.6791, 50.8925) |
| Luminance | 0.1368 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.41
Slate Blue
#6A5ACD
ΔE00 3.49
Iris
#6258C4
ΔE00 3.73
Royal Purple
#7851A9
ΔE00 4.52
Dark Periwinkle
#665FD1
ΔE00 5.34
Bluey Purple
#6241C7
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7254BF #A1BF54
analogous
#546CBF #7254BF #A854BF
triadic
#7254BF #BF7254 #54BF72
tetradic
#7254BF #BF546C #A1BF54 #54BFA8
square
#7254BF #BF546C #A1BF54 #54BFA8
split-complementary
#7254BF #BFA854 #6CBF54
monochromatic
#3D2A6F #563A9C #7254BF #9781D0 #BBADE0
Accessibility & contrast
On white
5.62
#7254BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#7254BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7254BF
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7254BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7254BF | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D69C3
Deuteranopia (green-blind)
#2665BD
Tritanopia (blue-blind)
#5E6B81
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7254bf; /* rgb */ color: rgb(114, 84, 191); /* oklch */ color: oklch(53.1% 0.161 293.0);
Tailwind
colors: {
custom: {
50: '#9f85d3',
500: '#7254bf',
950: '#000000',
},
}SCSS
$custom: #7254bf; $custom-light: #9f85d3; $custom-dark: #000000;
JSON
{
"hex": "#7254bf",
"rgb": {
"r": 114,
"g": 84,
"b": 191
},
"hsl": {
"h": 256.822,
"s": 45.532,
"l": 53.922
},
"oklch": {
"l": 0.53082,
"c": 0.16109,
"h": 293
},
"luminance": 0.1368
}Semantic roles & 50–950 ramp
primary
#7254BF
secondary
#C1CEA1
accent
#D553B1
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83