#B742CC#B742CC
#B742CC is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.6% C 0.220 H 321.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #B742CC |
|---|---|
| RGB | rgb(183, 66, 204) |
| HSL | hsl(291, 58%, 53%) |
| HSV | hsv(291, 68%, 80%) |
| CMYK | cmyk(10.3%, 67.6%, 0%, 20%) |
| CIE-LAB | lab(49.89, 65.19, -49.40) |
| CIE-LCH | lch(49.89, 81.79, 322.84°) |
| OKLab | oklab(59.63% 0.1716 -0.138) |
| OKLCH | oklch(59.63% 0.22 321.2) |
| XYZ | xyz(32.3745, 18.3250, 58.9468) |
| Luminance | 0.1832 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.06
Purpley Pink
#C83CB9
ΔE00 5.11
Purple Pink
#D725DE
ΔE00 5.19
Pinky Purple
#C94CBE
ΔE00 5.85
Hot Purple
#CB00F5
ΔE00 6.12
Lightish Purple
#A552E6
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B742CC #57CC42
analogous
#7242CC #B742CC #CC429C
triadic
#B742CC #CCB742 #42CCB7
tetradic
#B742CC #CC7242 #57CC42 #429CCC
square
#B742CC #CC7242 #57CC42 #429CCC
split-complementary
#B742CC #9CCC42 #42CC72
monochromatic
#671F74 #922CA4 #B742CC #C972D9 #DCA2E6
Accessibility & contrast
On white
4.50
#B742CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#B742CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B742CC
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B742CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B742CC | 1.00 | 4.50 | 4.66 | 4.66 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#116ED0
Deuteranopia (green-blind)
#517BC9
Tritanopia (blue-blind)
#B95A82
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #b742cc; /* rgb */ color: rgb(183, 66, 204); /* oklch */ color: oklch(59.6% 0.220 321.2);
Tailwind
colors: {
custom: {
50: '#d080dc',
500: '#b742cc',
950: '#000000',
},
}SCSS
$custom: #b742cc; $custom-light: #d080dc; $custom-dark: #000000;
JSON
{
"hex": "#b742cc",
"rgb": {
"r": 183,
"g": 66,
"b": 204
},
"hsl": {
"h": 290.87,
"s": 57.5,
"l": 52.941
},
"oklch": {
"l": 0.59631,
"c": 0.22018,
"h": 321.2
},
"luminance": 0.18323
}Semantic roles & 50–950 ramp
primary
#B742CC
secondary
#A0D397
accent
#E1475E
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83