#7254CB#7254CB
#7254CB is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.9% C 0.177 H 290.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #7254CB |
|---|---|
| RGB | rgb(114, 84, 203) |
| HSL | hsl(255, 53%, 56%) |
| HSV | hsv(255, 59%, 80%) |
| CMYK | cmyk(43.8%, 58.6%, 0%, 20.4%) |
| CIE-LAB | lab(44.56, 40.69, -57.84) |
| CIE-LCH | lch(44.56, 70.72, 305.13°) |
| OKLab | oklab(53.92% 0.063 -0.1649) |
| OKLCH | oklch(53.92% 0.177 290.9) |
| XYZ | xyz(20.8863, 14.2292, 58.1344) |
| Luminance | 0.1423 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.21
Slate Blue
#6A5ACD
ΔE00 2.49
Iris
#6258C4
ΔE00 3.49
Dark Periwinkle
#665FD1
ΔE00 4.40
Purpley
#8756E4
ΔE00 5.12
Bluey Purple
#6241C7
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7254CB #ADCB54
analogous
#5472CB #7254CB #AE54CB
triadic
#7254CB #CB7254 #54CB72
tetradic
#7254CB #CB5472 #ADCB54 #54CBAE
square
#7254CB #CB5472 #ADCB54 #54CBAE
split-complementary
#7254CB #CBAE54 #72CB54
monochromatic
#3D267E #5335AD #7254CB #9983D9 #BFB2E8
Accessibility & contrast
On white
5.46
#7254CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#7254CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7254CB
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7254CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7254CB | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#0667C8
Tritanopia (blue-blind)
#586F87
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7254cb; /* rgb */ color: rgb(114, 84, 203); /* oklch */ color: oklch(53.9% 0.177 290.9);
Tailwind
colors: {
custom: {
50: '#a085dc',
500: '#7254cb',
950: '#000000',
},
}SCSS
$custom: #7254cb; $custom-light: #a085dc; $custom-dark: #000000;
JSON
{
"hex": "#7254cb",
"rgb": {
"r": 114,
"g": 84,
"b": 203
},
"hsl": {
"h": 255.126,
"s": 53.363,
"l": 56.275
},
"oklch": {
"l": 0.53916,
"c": 0.17655,
"h": 290.9
},
"luminance": 0.1423
}Semantic roles & 50–950 ramp
primary
#7254CB
secondary
#CAD6A5
accent
#DD4BB8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83