#B751C1#B751C1
#B751C1 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.7% C 0.190 H 324.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #B751C1 |
|---|---|
| RGB | rgb(183, 81, 193) |
| HSL | hsl(295, 47%, 54%) |
| HSV | hsv(295, 58%, 76%) |
| CMYK | cmyk(5.2%, 58%, 0%, 24.3%) |
| CIE-LAB | lab(51.62, 56.74, -40.33) |
| CIE-LCH | lch(51.62, 69.61, 324.60°) |
| OKLab | oklab(60.69% 0.1538 -0.1117) |
| OKLCH | oklch(60.69% 0.19 324) |
| XYZ | xyz(32.0956, 19.8041, 52.5737) |
| Luminance | 0.1980 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.15
Pinky Purple
#C94CBE
ΔE00 3.60
Purpley Pink
#C83CB9
ΔE00 4.26
Pinkish Purple
#D648D7
ΔE00 5.63
Amethyst
#9B5FC0
ΔE00 5.94
Purple Pink
#D725DE
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B751C1 #5BC151
analogous
#7F51C1 #B751C1 #C15193
triadic
#B751C1 #C1B751 #51C1B7
tetradic
#B751C1 #C17F51 #5BC151 #5193C1
square
#B751C1 #C17F51 #5BC151 #5193C1
split-complementary
#B751C1 #93C151 #51C17F
monochromatic
#692870 #94389D #B751C1 #CA7ED1 #DCABE1
Accessibility & contrast
On white
4.23
#B751C1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#B751C1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B751C1
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B751C1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B751C1 | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F73C5
Deuteranopia (green-blind)
#627FBE
Tritanopia (blue-blind)
#BA6081
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #b751c1; /* rgb */ color: rgb(183, 81, 193); /* oklch */ color: oklch(60.7% 0.190 324.0);
Tailwind
colors: {
custom: {
50: '#cf87d4',
500: '#b751c1',
950: '#000000',
},
}SCSS
$custom: #b751c1; $custom-light: #cf87d4; $custom-dark: #000000;
JSON
{
"hex": "#b751c1",
"rgb": {
"r": 183,
"g": 81,
"b": 193
},
"hsl": {
"h": 294.643,
"s": 47.458,
"l": 53.725
},
"oklch": {
"l": 0.60689,
"c": 0.19007,
"h": 324
},
"luminance": 0.19802
}Semantic roles & 50–950 ramp
primary
#B751C1
secondary
#A3CF9F
accent
#D7515D
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83