#B243B2#B243B2
#B243B2 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.6% C 0.194 H 327.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #B243B2 |
|---|---|
| RGB | rgb(178, 67, 178) |
| HSL | hsl(300, 45%, 48%) |
| HSV | hsv(300, 62%, 70%) |
| CMYK | cmyk(0%, 62.4%, 0%, 30.2%) |
| CIE-LAB | lab(47.87, 58.96, -37.55) |
| CIE-LCH | lch(47.87, 69.90, 327.51°) |
| OKLab | oklab(57.57% 0.1643 -0.1037) |
| OKLCH | oklch(57.57% 0.194 327.7) |
| XYZ | xyz(28.4027, 16.6955, 43.8374) |
| Luminance | 0.1669 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.76
Purpley Pink
#C83CB9
ΔE00 3.95
Medium Purple
#9E43A2
ΔE00 4.30
Pinky Purple
#C94CBE
ΔE00 5.65
Purply
#983FB2
ΔE00 5.82
Barney
#AC1DB8
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B243B2 #43B243
analogous
#7A43B2 #B243B2 #B2437A
triadic
#B243B2 #B2B243 #43B2B2
tetradic
#B243B2 #B27A43 #43B243 #437AB2
square
#B243B2 #B27A43 #43B243 #437AB2
split-complementary
#B243B2 #7AB243 #43B27A
monochromatic
#592259 #863286 #B243B2 #C76BC7 #D897D8
Accessibility & contrast
On white
4.84
#B243B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#B243B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B243B2
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B243B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B243B2 | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3568B5
Deuteranopia (green-blind)
#5D77AF
Tritanopia (blue-blind)
#B75174
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #b243b2; /* rgb */ color: rgb(178, 67, 178); /* oklch */ color: oklch(57.6% 0.194 327.7);
Tailwind
colors: {
custom: {
50: '#cc7fc9',
500: '#b243b2',
950: '#000000',
},
}SCSS
$custom: #b243b2; $custom-light: #cc7fc9; $custom-dark: #000000;
JSON
{
"hex": "#b243b2",
"rgb": {
"r": 178,
"g": 67,
"b": 178
},
"hsl": {
"h": 300,
"s": 45.306,
"l": 48.039
},
"oklch": {
"l": 0.57571,
"c": 0.19424,
"h": 327.7
},
"luminance": 0.16694
}Semantic roles & 50–950 ramp
primary
#B243B2
secondary
#8DC48D
accent
#D55353
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82