#7254CF#7254CF
#7254CF is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.2% C 0.182 H 290.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #7254CF |
|---|---|
| RGB | rgb(114, 84, 207) |
| HSL | hsl(255, 56%, 57%) |
| HSV | hsv(255, 59%, 81%) |
| CMYK | cmyk(44.9%, 59.4%, 0%, 18.8%) |
| CIE-LAB | lab(44.83, 41.82, -59.70) |
| CIE-LCH | lch(44.83, 72.89, 305.01°) |
| OKLab | oklab(54.2% 0.0629 -0.1704) |
| OKLCH | oklch(54.2% 0.182 290.2) |
| XYZ | xyz(21.3691, 14.4223, 60.6772) |
| Luminance | 0.1442 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.06
Slate Blue
#6A5ACD
ΔE00 2.42
Iris
#6258C4
ΔE00 3.63
Dark Periwinkle
#665FD1
ΔE00 4.24
Purpley
#8756E4
ΔE00 4.76
Bluey Purple
#6241C7
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7254CF #B1CF54
analogous
#5474CF #7254CF #AF54CF
triadic
#7254CF #CF7254 #54CF72
tetradic
#7254CF #CF5474 #B1CF54 #54CFAF
square
#7254CF #CF5474 #B1CF54 #54CFAF
split-complementary
#7254CF #CFAF54 #74CF54
monochromatic
#3C2584 #5232B3 #7254CF #9984DC #C1B4EA
Accessibility & contrast
On white
5.41
#7254CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#7254CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7254CF
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7254CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7254CF | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#567089
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7254cf; /* rgb */ color: rgb(114, 84, 207); /* oklch */ color: oklch(54.2% 0.182 290.2);
Tailwind
colors: {
custom: {
50: '#a185de',
500: '#7254cf',
950: '#000000',
},
}SCSS
$custom: #7254cf; $custom-light: #a185de; $custom-dark: #000000;
JSON
{
"hex": "#7254cf",
"rgb": {
"r": 114,
"g": 84,
"b": 207
},
"hsl": {
"h": 254.634,
"s": 56.164,
"l": 57.059
},
"oklch": {
"l": 0.54203,
"c": 0.18163,
"h": 290.2
},
"luminance": 0.14423
}Semantic roles & 50–950 ramp
primary
#7254CF
secondary
#CCD8A6
accent
#DF48BB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83