#B742CF#B742CF
#B742CF is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.8% C 0.223 H 320.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #B742CF |
|---|---|
| RGB | rgb(183, 66, 207) |
| HSL | hsl(290, 59%, 54%) |
| HSV | hsv(290, 68%, 81%) |
| CMYK | cmyk(11.6%, 68.1%, 0%, 18.8%) |
| CIE-LAB | lab(50.06, 65.74, -50.85) |
| CIE-LCH | lch(50.06, 83.11, 322.28°) |
| OKLab | oklab(59.81% 0.1715 -0.1422) |
| OKLCH | oklch(59.81% 0.223 320.3) |
| XYZ | xyz(32.7378, 18.4703, 60.8601) |
| Luminance | 0.1847 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.94
Purple Pink
#D725DE
ΔE00 5.09
Purpley Pink
#C83CB9
ΔE00 5.49
Hot Purple
#CB00F5
ΔE00 5.77
Lightish Purple
#A552E6
ΔE00 5.79
Pinky Purple
#C94CBE
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B742CF #5ACF42
analogous
#7042CF #B742CF #CF42A0
triadic
#B742CF #CFB742 #42CFB7
tetradic
#B742CF #CF7042 #5ACF42 #42A0CF
square
#B742CF #CF7042 #5ACF42 #42A0CF
split-complementary
#B742CF #A0CF42 #42CF70
monochromatic
#691F78 #932BA9 #B742CF #CA73DB #DCA4E8
Accessibility & contrast
On white
4.47
#B742CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#B742CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B742CF
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B742CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B742CF | 1.00 | 4.47 | 4.69 | 4.69 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#056FD3
Deuteranopia (green-blind)
#4F7BCC
Tritanopia (blue-blind)
#B85B84
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #b742cf; /* rgb */ color: rgb(183, 66, 207); /* oklch */ color: oklch(59.8% 0.223 320.3);
Tailwind
colors: {
custom: {
50: '#d080de',
500: '#b742cf',
950: '#000000',
},
}SCSS
$custom: #b742cf; $custom-light: #d080de; $custom-dark: #000000;
JSON
{
"hex": "#b742cf",
"rgb": {
"r": 183,
"g": 66,
"b": 207
},
"hsl": {
"h": 289.787,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.59812,
"c": 0.22278,
"h": 320.3
},
"luminance": 0.18469
}Semantic roles & 50–950 ramp
primary
#B742CF
secondary
#A2D598
accent
#E34560
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83