#B34FC2#B34FC2
#B34FC2 is a mid, vivid purple. Relative luminance 0.191; OKLCH L 60.0% C 0.192 H 322.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #B34FC2 |
|---|---|
| RGB | rgb(179, 79, 194) |
| HSL | hsl(292, 49%, 54%) |
| HSV | hsv(292, 59%, 76%) |
| CMYK | cmyk(7.7%, 59.3%, 0%, 23.9%) |
| CIE-LAB | lab(50.77, 56.82, -42.27) |
| CIE-LCH | lch(50.77, 70.82, 323.35°) |
| OKLab | oklab(59.98% 0.1517 -0.1174) |
| OKLCH | oklch(59.98% 0.192 322.3) |
| XYZ | xyz(31.1230, 19.0723, 53.0704) |
| Luminance | 0.1907 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.31
Pinky Purple
#C94CBE
ΔE00 4.60
Purpley Pink
#C83CB9
ΔE00 4.73
Amethyst
#9B5FC0
ΔE00 5.43
Pinkish Purple
#D648D7
ΔE00 6.36
Purple Pink
#D725DE
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B34FC2 #5EC24F
analogous
#794FC2 #B34FC2 #C24F97
triadic
#B34FC2 #C2B34F #4FC2B3
tetradic
#B34FC2 #C2794F #5EC24F #4F97C2
square
#B34FC2 #C2794F #5EC24F #4F97C2
split-complementary
#B34FC2 #97C24F #4FC279
monochromatic
#662770 #90379D #B34FC2 #C77CD2 #DAAAE2
Accessibility & contrast
On white
4.36
#B34FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#B34FC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B34FC2
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B34FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B34FC2 | 1.00 | 4.36 | 4.81 | 4.81 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3971C6
Deuteranopia (green-blind)
#5D7DBF
Tritanopia (blue-blind)
#B56081
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #b34fc2; /* rgb */ color: rgb(179, 79, 194); /* oklch */ color: oklch(60.0% 0.192 322.3);
Tailwind
colors: {
custom: {
50: '#cd86d5',
500: '#b34fc2',
950: '#000000',
},
}SCSS
$custom: #b34fc2; $custom-light: #cd86d5; $custom-dark: #000000;
JSON
{
"hex": "#b34fc2",
"rgb": {
"r": 179,
"g": 79,
"b": 194
},
"hsl": {
"h": 292.174,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.59976,
"c": 0.19186,
"h": 322.3
},
"luminance": 0.19071
}Semantic roles & 50–950 ramp
primary
#B34FC2
secondary
#A4CF9E
accent
#D85061
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83