#7154F3#7154F3
#7154F3 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.9% C 0.226 H 285.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7154F3 |
|---|---|
| RGB | rgb(113, 84, 243) |
| HSL | hsl(251, 87%, 64%) |
| HSV | hsv(251, 65%, 95%) |
| CMYK | cmyk(53.5%, 65.4%, 0%, 4.7%) |
| CIE-LAB | lab(47.39, 51.97, -75.97) |
| CIE-LCH | lch(47.39, 92.04, 304.37°) |
| OKLab | oklab(56.87% 0.0585 -0.2183) |
| OKLCH | oklch(56.87% 0.226 285) |
| XYZ | xyz(26.1532, 16.3210, 86.5488) |
| Luminance | 0.1632 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.16
Light Indigo
#6D5ACF
ΔE00 5.01
Slate Blue
#6A5ACD
ΔE00 5.39
Purpleish Blue
#6140EF
ΔE00 5.48
Dark Periwinkle
#665FD1
ΔE00 5.67
Mediumslateblue
#7B68EE
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7154F3 #D6F354
analogous
#5487F3 #7154F3 #C054F3
triadic
#7154F3 #F37154 #54F371
tetradic
#7154F3 #F35487 #D6F354 #54F3C0
square
#7154F3 #F35487 #D6F354 #54F3C0
split-complementary
#7154F3 #F3C054 #87F354
monochromatic
#2E0DBF #421BEF #7154F3 #A08DF7 #D0C6FB
Accessibility & contrast
On white
4.92
#7154F3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#7154F3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7154F3
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7154F3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7154F3 | 1.00 | 4.92 | 4.26 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075F8
Deuteranopia (green-blind)
#006BF0
Tritanopia (blue-blind)
#397C9C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7154f3; /* rgb */ color: rgb(113, 84, 243); /* oklch */ color: oklch(56.9% 0.226 285.0);
Tailwind
colors: {
custom: {
50: '#a586f8',
500: '#7154f3',
950: '#000000',
},
}SCSS
$custom: #7154f3; $custom-light: #a586f8; $custom-dark: #000000;
JSON
{
"hex": "#7154f3",
"rgb": {
"r": 113,
"g": 84,
"b": 243
},
"hsl": {
"h": 250.943,
"s": 86.885,
"l": 64.118
},
"oklch": {
"l": 0.56874,
"c": 0.22598,
"h": 285
},
"luminance": 0.16322
}Semantic roles & 50–950 ramp
primary
#7154F3
secondary
#E3EDB6
accent
#E302BA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85