#B748E2#B748E2
#B748E2 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.6% C 0.232 H 314.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #B748E2 |
|---|---|
| RGB | rgb(183, 72, 226) |
| HSL | hsl(283, 73%, 58%) |
| HSV | hsv(283, 68%, 89%) |
| CMYK | cmyk(19%, 68.1%, 0%, 11.4%) |
| CIE-LAB | lab(52.06, 66.98, -58.47) |
| CIE-LCH | lch(52.06, 88.91, 318.88°) |
| OKLab | oklab(61.61% 0.1641 -0.1646) |
| OKLCH | oklch(61.61% 0.232 314.9) |
| XYZ | xyz(35.5710, 20.1942, 73.9609) |
| Luminance | 0.2019 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.47
Mediumorchid
#BA55D3
ΔE00 3.59
Hot Purple
#CB00F5
ΔE00 4.90
Lighter Purple
#A55AF4
ΔE00 5.36
Neon Purple
#BC13FE
ΔE00 5.44
Purple Pink
#D725DE
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B748E2 #73E248
analogous
#6A48E2 #B748E2 #E248C0
triadic
#B748E2 #E2B748 #48E2B7
tetradic
#B748E2 #E26A48 #73E248 #48C0E2
square
#B748E2 #E26A48 #73E248 #48C0E2
split-complementary
#B748E2 #C0E248 #48E26A
monochromatic
#741898 #9C20CC #B748E2 #CC7DEA #E1B2F3
Accessibility & contrast
On white
4.17
#B748E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#B748E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B748E2
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B748E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B748E2 | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#437FDE
Tritanopia (blue-blind)
#B36790
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #b748e2; /* rgb */ color: rgb(183, 72, 226); /* oklch */ color: oklch(61.6% 0.232 314.9);
Tailwind
colors: {
custom: {
50: '#d183ec',
500: '#b748e2',
950: '#000000',
},
}SCSS
$custom: #b748e2; $custom-light: #d183ec; $custom-dark: #000000;
JSON
{
"hex": "#b748e2",
"rgb": {
"r": 183,
"g": 72,
"b": 226
},
"hsl": {
"h": 283.247,
"s": 72.642,
"l": 58.431
},
"oklch": {
"l": 0.61606,
"c": 0.23243,
"h": 314.9
},
"luminance": 0.20193
}Semantic roles & 50–950 ramp
primary
#B748E2
secondary
#B5E1A4
accent
#EF386C
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84