#B34FDA#B34FDA
#B34FDA is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.4% C 0.215 H 315.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #B34FDA |
|---|---|
| RGB | rgb(179, 79, 218) |
| HSL | hsl(283, 65%, 58%) |
| HSV | hsv(283, 64%, 85%) |
| CMYK | cmyk(17.9%, 63.8%, 0%, 14.5%) |
| CIE-LAB | lab(52.11, 61.51, -53.89) |
| CIE-LCH | lch(52.11, 81.78, 318.78°) |
| OKLab | oklab(61.38% 0.1521 -0.1513) |
| OKLCH | oklch(61.38% 0.215 315.1) |
| XYZ | xyz(34.0393, 20.2388, 68.4295) |
| Luminance | 0.2024 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.57
Lightish Purple
#A552E6
ΔE00 3.49
Lighter Purple
#A55AF4
ΔE00 5.46
Amethyst
#9B5FC0
ΔE00 5.93
Purple Pink
#D725DE
ΔE00 6.12
Hot Purple
#CB00F5
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B34FDA #76DA4F
analogous
#6D4FDA #B34FDA #DA4FBC
triadic
#B34FDA #DAB34F #4FDAB3
tetradic
#B34FDA #DA6D4F #76DA4F #4FBCDA
square
#B34FDA #DA6D4F #76DA4F #4FBCDA
split-complementary
#B34FDA #BCDA4F #4FDA6D
monochromatic
#701E90 #9829C3 #B34FDA #C982E5 #DFB4EF
Accessibility & contrast
On white
4.16
#B34FDA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#B34FDA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B34FDA
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B34FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B34FDA | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1576DE
Deuteranopia (green-blind)
#4C7FD7
Tritanopia (blue-blind)
#B0698E
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #b34fda; /* rgb */ color: rgb(179, 79, 218); /* oklch */ color: oklch(61.4% 0.215 315.1);
Tailwind
colors: {
custom: {
50: '#cd87e6',
500: '#b34fda',
950: '#000000',
},
}SCSS
$custom: #b34fda; $custom-light: #cd87e6; $custom-dark: #000000;
JSON
{
"hex": "#b34fda",
"rgb": {
"r": 179,
"g": 79,
"b": 218
},
"hsl": {
"h": 283.165,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.61375,
"c": 0.21453,
"h": 315.1
},
"luminance": 0.20238
}Semantic roles & 50–950 ramp
primary
#B34FDA
secondary
#B6DEA7
accent
#E8406F
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84