#742EAB#742EAB
#742EAB is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.190 H 305.7°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #742EAB |
|---|---|
| RGB | rgb(116, 46, 171) |
| HSL | hsl(274, 58%, 43%) |
| HSV | hsv(274, 73%, 67%) |
| CMYK | cmyk(32.2%, 73.1%, 0%, 32.9%) |
| CIE-LAB | lab(35.22, 52.57, -54.17) |
| CIE-LCH | lch(35.22, 75.49, 314.14°) |
| OKLab | oklab(46.5% 0.1107 -0.154) |
| OKLCH | oklch(46.5% 0.19 305.7) |
| XYZ | xyz(15.5285, 8.6074, 39.3635) |
| Luminance | 0.0861 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.53
Purple (survey)
#7E1E9C
ΔE00 4.13
Purple Blue
#5D21D0
ΔE00 6.87
Darkviolet
#9400D3
ΔE00 6.97
Bluey Purple
#6241C7
ΔE00 7.07
Blurple
#5539CC
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#742EAB #65AB2E
analogous
#352EAB #742EAB #AB2EA4
triadic
#742EAB #AB742E #2EAB74
tetradic
#742EAB #AB352E #65AB2E #2EA4AB
square
#742EAB #AB352E #65AB2E #2EA4AB
split-complementary
#742EAB #A4AB2E #2EAB35
monochromatic
#33144B #53217B #742EAB #9348CE #B079DB
Accessibility & contrast
On white
7.72
#742EAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#742EAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #742EAB
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##742EAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##742EAB | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#6A4C6A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #742eab; /* rgb */ color: rgb(116, 46, 171); /* oklch */ color: oklch(46.5% 0.190 305.7);
Tailwind
colors: {
custom: {
50: '#a16dc5',
500: '#742eab',
950: '#000000',
},
}SCSS
$custom: #742eab; $custom-light: #a16dc5; $custom-dark: #000000;
JSON
{
"hex": "#742eab",
"rgb": {
"r": 116,
"g": 46,
"b": 171
},
"hsl": {
"h": 273.6,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.46499,
"c": 0.18964,
"h": 305.7
},
"luminance": 0.08607
}Semantic roles & 50–950 ramp
primary
#742EAB
secondary
#96C372
accent
#E1478B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82