#742ABB#742ABB
#742ABB is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.210 H 301.8°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #742ABB |
|---|---|
| RGB | rgb(116, 42, 187) |
| HSL | hsl(271, 63%, 45%) |
| HSV | hsv(271, 78%, 73%) |
| CMYK | cmyk(38%, 77.5%, 0%, 26.7%) |
| CIE-LAB | lab(35.90, 57.99, -62.56) |
| CIE-LCH | lch(35.90, 85.30, 312.83°) |
| OKLab | oklab(47.38% 0.1108 -0.1786) |
| OKLCH | oklch(47.38% 0.21 301.8) |
| XYZ | xyz(16.9979, 8.9567, 47.8374) |
| Luminance | 0.0896 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.82
Rebeccapurple
#663399
ΔE00 5.50
Darkviolet
#9400D3
ΔE00 5.62
Bluey Purple
#6241C7
ΔE00 5.88
Purple (survey)
#7E1E9C
ΔE00 5.91
Burple
#6832E3
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#742ABB #71BB2A
analogous
#2C2ABB #742ABB #BB2AB9
triadic
#742ABB #BB742A #2ABB74
tetradic
#742ABB #BB2C2A #71BB2A #2AB9BB
square
#742ABB #BB2C2A #71BB2A #2AB9BB
split-complementary
#742ABB #B9BB2A #2ABB2C
monochromatic
#361457 #551F89 #742ABB #934CD7 #B17DE2
Accessibility & contrast
On white
7.52
#742ABB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#742ABB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #742ABB
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##742ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##742ABB | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#645072
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #742abb; /* rgb */ color: rgb(116, 42, 187); /* oklch */ color: oklch(47.4% 0.210 301.8);
Tailwind
colors: {
custom: {
50: '#a36cd0',
500: '#742abb',
950: '#000000',
},
}SCSS
$custom: #742abb; $custom-light: #a36cd0; $custom-dark: #000000;
JSON
{
"hex": "#742abb",
"rgb": {
"r": 116,
"g": 42,
"b": 187
},
"hsl": {
"h": 270.621,
"s": 63.319,
"l": 44.902
},
"oklch": {
"l": 0.47375,
"c": 0.21016,
"h": 301.8
},
"luminance": 0.08957
}Semantic roles & 50–950 ramp
primary
#742ABB
secondary
#A0CA76
accent
#E64192
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82