#B742CE#B742CE
#B742CE is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.8% C 0.222 H 320.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B742CE |
|---|---|
| RGB | rgb(183, 66, 206) |
| HSL | hsl(290, 59%, 53%) |
| HSV | hsv(290, 68%, 81%) |
| CMYK | cmyk(11.2%, 68%, 0%, 19.2%) |
| CIE-LAB | lab(50.00, 65.55, -50.37) |
| CIE-LCH | lch(50.00, 82.67, 322.46°) |
| OKLab | oklab(59.75% 0.1715 -0.1408) |
| OKLCH | oklch(59.75% 0.222 320.6) |
| XYZ | xyz(32.6159, 18.4216, 60.2183) |
| Luminance | 0.1842 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.97
Purple Pink
#D725DE
ΔE00 5.12
Purpley Pink
#C83CB9
ΔE00 5.36
Hot Purple
#CB00F5
ΔE00 5.88
Lightish Purple
#A552E6
ΔE00 5.92
Pinky Purple
#C94CBE
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B742CE #59CE42
analogous
#7142CE #B742CE #CE429F
triadic
#B742CE #CEB742 #42CEB7
tetradic
#B742CE #CE7142 #59CE42 #429FCE
square
#B742CE #CE7142 #59CE42 #429FCE
split-complementary
#B742CE #9FCE42 #42CE71
monochromatic
#681F77 #932BA7 #B742CE #CA73DB #DCA3E7
Accessibility & contrast
On white
4.48
#B742CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#B742CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B742CE
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B742CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B742CE | 1.00 | 4.48 | 4.68 | 4.68 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A6FD2
Deuteranopia (green-blind)
#507BCB
Tritanopia (blue-blind)
#B85B83
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #b742ce; /* rgb */ color: rgb(183, 66, 206); /* oklch */ color: oklch(59.8% 0.222 320.6);
Tailwind
colors: {
custom: {
50: '#d080dd',
500: '#b742ce',
950: '#000000',
},
}SCSS
$custom: #b742ce; $custom-light: #d080dd; $custom-dark: #000000;
JSON
{
"hex": "#b742ce",
"rgb": {
"r": 183,
"g": 66,
"b": 206
},
"hsl": {
"h": 290.143,
"s": 58.824,
"l": 53.333
},
"oklch": {
"l": 0.59751,
"c": 0.22191,
"h": 320.6
},
"luminance": 0.1842
}Semantic roles & 50–950 ramp
primary
#B742CE
secondary
#A2D498
accent
#E2465F
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83