#7254C8#7254C8
#7254C8 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.7% C 0.173 H 291.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #7254C8 |
|---|---|
| RGB | rgb(114, 84, 200) |
| HSL | hsl(256, 51%, 56%) |
| HSV | hsv(256, 58%, 78%) |
| CMYK | cmyk(43%, 58%, 0%, 21.6%) |
| CIE-LAB | lab(44.36, 39.85, -56.43) |
| CIE-LCH | lch(44.36, 69.08, 305.23°) |
| OKLab | oklab(53.7% 0.063 -0.1608) |
| OKLCH | oklch(53.7% 0.173 291.4) |
| XYZ | xyz(20.5322, 14.0875, 56.2697) |
| Luminance | 0.1409 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.42
Slate Blue
#6A5ACD
ΔE00 2.65
Iris
#6258C4
ΔE00 3.45
Dark Periwinkle
#665FD1
ΔE00 4.58
Purpley
#8756E4
ΔE00 5.43
Bluey Purple
#6241C7
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7254C8 #AAC854
analogous
#5470C8 #7254C8 #AC54C8
triadic
#7254C8 #C87254 #54C872
tetradic
#7254C8 #C85470 #AAC854 #54C8AC
square
#7254C8 #C85470 #AAC854 #54C8AC
split-complementary
#7254C8 #C8AC54 #70C854
monochromatic
#3D277A #5436A9 #7254C8 #9882D7 #BEB1E6
Accessibility & contrast
On white
5.50
#7254C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#7254C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7254C8
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7254C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7254C8 | 1.00 | 5.50 | 3.82 | 5.50 |
| #FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#026BCC
Deuteranopia (green-blind)
#1366C5
Tritanopia (blue-blind)
#5A6E86
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7254c8; /* rgb */ color: rgb(114, 84, 200); /* oklch */ color: oklch(53.7% 0.173 291.4);
Tailwind
colors: {
custom: {
50: '#a085d9',
500: '#7254c8',
950: '#000000',
},
}SCSS
$custom: #7254c8; $custom-light: #a085d9; $custom-dark: #000000;
JSON
{
"hex": "#7254c8",
"rgb": {
"r": 114,
"g": 84,
"b": 200
},
"hsl": {
"h": 255.517,
"s": 51.327,
"l": 55.686
},
"oklch": {
"l": 0.53704,
"c": 0.17271,
"h": 291.4
},
"luminance": 0.14088
}Semantic roles & 50–950 ramp
primary
#7254C8
secondary
#C8D4A4
accent
#DB4DB6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83