#754FB2#754FB2
#754FB2 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.7% C 0.152 H 298.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #754FB2 |
|---|---|
| RGB | rgb(117, 79, 178) |
| HSL | hsl(263, 39%, 50%) |
| HSV | hsv(263, 56%, 70%) |
| CMYK | cmyk(34.3%, 55.6%, 0%, 30.2%) |
| CIE-LAB | lab(42.14, 37.43, -47.16) |
| CIE-LCH | lch(42.14, 60.21, 308.44°) |
| OKLab | oklab(51.69% 0.073 -0.1335) |
| OKLCH | oklch(51.69% 0.152 298.7) |
| XYZ | xyz(18.1660, 12.5880, 43.5835) |
| Luminance | 0.1259 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.11
Iris
#6258C4
ΔE00 6.13
Light Indigo
#6D5ACF
ΔE00 6.23
Bluey Purple
#6241C7
ΔE00 6.29
Slate Blue
#6A5ACD
ΔE00 6.29
Deep Lavender
#8D5EB7
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754FB2 #8CB24F
analogous
#4F5BB2 #754FB2 #A64FB2
triadic
#754FB2 #B2754F #4FB275
tetradic
#754FB2 #B24F5B #8CB24F #4FB2A6
square
#754FB2 #B24F5B #8CB24F #4FB2A6
split-complementary
#754FB2 #B2A64F #5BB24F
monochromatic
#3D295E #593C88 #754FB2 #967AC5 #B8A4D7
Accessibility & contrast
On white
5.97
#754FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#754FB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #754FB2
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754FB2 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2563B5
Deuteranopia (green-blind)
#3163B0
Tritanopia (blue-blind)
#686379
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #754fb2; /* rgb */ color: rgb(117, 79, 178); /* oklch */ color: oklch(51.7% 0.152 298.7);
Tailwind
colors: {
custom: {
50: '#a081c9',
500: '#754fb2',
950: '#000000',
},
}SCSS
$custom: #754fb2; $custom-light: #a081c9; $custom-dark: #000000;
JSON
{
"hex": "#754fb2",
"rgb": {
"r": 117,
"g": 79,
"b": 178
},
"hsl": {
"h": 263.03,
"s": 39.13,
"l": 50.392
},
"oklch": {
"l": 0.51686,
"c": 0.15213,
"h": 298.7
},
"luminance": 0.12588
}Semantic roles & 50–950 ramp
primary
#754FB2
secondary
#B4C498
accent
#CF59A2
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82