#7154CA#7154CA
#7154CA is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.8% C 0.175 H 290.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #7154CA |
|---|---|
| RGB | rgb(113, 84, 202) |
| HSL | hsl(255, 53%, 56%) |
| HSV | hsv(255, 58%, 79%) |
| CMYK | cmyk(44.1%, 58.4%, 0%, 20.8%) |
| CIE-LAB | lab(44.40, 40.19, -57.53) |
| CIE-LCH | lch(44.40, 70.18, 304.94°) |
| OKLab | oklab(53.75% 0.0617 -0.1641) |
| OKLCH | oklch(53.75% 0.175 290.6) |
| XYZ | xyz(20.6381, 14.1149, 57.5027) |
| Luminance | 0.1412 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.18
Slate Blue
#6A5ACD
ΔE00 2.41
Iris
#6258C4
ΔE00 3.30
Dark Periwinkle
#665FD1
ΔE00 4.35
Purpley
#8756E4
ΔE00 5.35
Bluey Purple
#6241C7
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7154CA #ADCA54
analogous
#5472CA #7154CA #AC54CA
triadic
#7154CA #CA7154 #54CA71
tetradic
#7154CA #CA5472 #ADCA54 #54CAAC
square
#7154CA #CA5472 #ADCA54 #54CAAC
split-complementary
#7154CA #CAAC54 #72CA54
monochromatic
#3C277D #5235AC #7154CA #9883D8 #BFB1E7
Accessibility & contrast
On white
5.49
#7154CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#7154CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7154CA
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7154CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7154CA | 1.00 | 5.49 | 3.82 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0866C7
Tritanopia (blue-blind)
#576E87
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7154ca; /* rgb */ color: rgb(113, 84, 202); /* oklch */ color: oklch(53.8% 0.175 290.6);
Tailwind
colors: {
custom: {
50: '#a085db',
500: '#7154ca',
950: '#000000',
},
}SCSS
$custom: #7154ca; $custom-light: #a085db; $custom-dark: #000000;
JSON
{
"hex": "#7154ca",
"rgb": {
"r": 113,
"g": 84,
"b": 202
},
"hsl": {
"h": 254.746,
"s": 52.679,
"l": 56.078
},
"oklch": {
"l": 0.53753,
"c": 0.17528,
"h": 290.6
},
"luminance": 0.14116
}Semantic roles & 50–950 ramp
primary
#7154CA
secondary
#C9D5A5
accent
#DC4CB9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83