#B740E2#B740E2
#B740E2 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.8% C 0.242 H 315.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #B740E2 |
|---|---|
| RGB | rgb(183, 64, 226) |
| HSL | hsl(284, 74%, 57%) |
| HSV | hsv(284, 72%, 89%) |
| CMYK | cmyk(19%, 71.7%, 0%, 11.4%) |
| CIE-LAB | lab(50.95, 70.10, -60.25) |
| CIE-LCH | lch(50.95, 92.43, 319.32°) |
| OKLab | oklab(60.82% 0.1721 -0.1697) |
| OKLCH | oklch(60.82% 0.242 315.4) |
| XYZ | xyz(35.0871, 19.2264, 73.7996) |
| Luminance | 0.1923 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.94
Hot Purple
#CB00F5
ΔE00 4.06
Neon Purple
#BC13FE
ΔE00 4.49
Mediumorchid
#BA55D3
ΔE00 4.59
Bright Purple
#BE03FD
ΔE00 4.65
Purple Pink
#D725DE
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B740E2 #6BE240
analogous
#6640E2 #B740E2 #E240BC
triadic
#B740E2 #E2B740 #40E2B7
tetradic
#B740E2 #E26640 #6BE240 #40BCE2
square
#B740E2 #E26640 #6BE240 #40BCE2
split-complementary
#B740E2 #BCE240 #40E266
monochromatic
#711692 #9A1EC7 #B740E2 #CB75EA #DFAAF2
Accessibility & contrast
On white
4.33
#B740E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#B740E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B740E2
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B740E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B740E2 | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#3C7CDE
Tritanopia (blue-blind)
#B4628E
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #b740e2; /* rgb */ color: rgb(183, 64, 226); /* oklch */ color: oklch(60.8% 0.242 315.4);
Tailwind
colors: {
custom: {
50: '#d17fec',
500: '#b740e2',
950: '#000000',
},
}SCSS
$custom: #b740e2; $custom-light: #d17fec; $custom-dark: #000000;
JSON
{
"hex": "#b740e2",
"rgb": {
"r": 183,
"g": 64,
"b": 226
},
"hsl": {
"h": 284.074,
"s": 73.636,
"l": 56.863
},
"oklch": {
"l": 0.60818,
"c": 0.24169,
"h": 315.4
},
"luminance": 0.19225
}Semantic roles & 50–950 ramp
primary
#B740E2
secondary
#AFE09E
accent
#F03869
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#150B16
muted
#837C84