#742BC2#742BC2
#742BC2 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.1% C 0.216 H 300.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #742BC2 |
|---|---|
| RGB | rgb(116, 43, 194) |
| HSL | hsl(269, 64%, 46%) |
| HSV | hsv(269, 78%, 76%) |
| CMYK | cmyk(40.2%, 77.8%, 0%, 23.9%) |
| CIE-LAB | lab(36.62, 59.25, -65.49) |
| CIE-LCH | lch(36.62, 88.32, 312.13°) |
| OKLab | oklab(48.06% 0.1081 -0.1872) |
| OKLCH | oklch(48.06% 0.216 300) |
| XYZ | xyz(17.8015, 9.3356, 51.8926) |
| Luminance | 0.0934 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.31
Burple
#6832E3
ΔE00 5.06
Bluey Purple
#6241C7
ΔE00 5.29
Darkviolet
#9400D3
ΔE00 5.33
Blueviolet
#8A2BE2
ΔE00 5.54
Blurple
#5539CC
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#742BC2 #79C22B
analogous
#2B2DC2 #742BC2 #C02BC2
triadic
#742BC2 #C2742B #2BC274
tetradic
#742BC2 #C22B2D #79C22B #2BC2C0
square
#742BC2 #C22B2D #79C22B #2BC2C0
split-complementary
#742BC2 #C2C02B #2DC22B
monochromatic
#38155E #562090 #742BC2 #9352D9 #B284E4
Accessibility & contrast
On white
7.32
#742BC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#742BC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #742BC2
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##742BC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##742BC2 | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#0055BF
Tritanopia (blue-blind)
#625476
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #742bc2; /* rgb */ color: rgb(116, 43, 194); /* oklch */ color: oklch(48.1% 0.216 300.0);
Tailwind
colors: {
custom: {
50: '#a36dd6',
500: '#742bc2',
950: '#000000',
},
}SCSS
$custom: #742bc2; $custom-light: #a36dd6; $custom-dark: #000000;
JSON
{
"hex": "#742bc2",
"rgb": {
"r": 116,
"g": 43,
"b": 194
},
"hsl": {
"h": 269.007,
"s": 63.713,
"l": 46.471
},
"oklch": {
"l": 0.48061,
"c": 0.21619,
"h": 300
},
"luminance": 0.09336
}Semantic roles & 50–950 ramp
primary
#742BC2
secondary
#A6CD7C
accent
#E74197
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83