#B043A2#B043A2

#B043A2 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.5% C 0.180 H 333.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B043A2
RGBrgb(176, 67, 162)
HSLhsl(308, 45%, 48%)
HSVhsv(308, 62%, 69%)
CMYKcmyk(0%, 61.9%, 8%, 31%)
CIE-LABlab(46.78, 55.75, -29.85)
CIE-LCHlch(46.78, 63.24, 331.84°)
OKLaboklab(56.46% 0.1604 -0.0815)
OKLCHoklch(56.46% 0.18 333.1)
XYZxyz(26.4333, 15.8550, 35.8435)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B043A2 #43B051
analogous
#8743B0 #B043A2 #B0436C
triadic
#B043A2 #A2B043 #43A2B0
tetradic
#B043A2 #B08743 #43B051 #436CB0
square
#B043A2 #B08743 #43B051 #436CB0
split-complementary
#B043A2 #6CB043 #43B087
monochromatic
#572150 #843279 #B043A2 #C66ABA #D796CF

Accessibility & contrast

On white

5.04
#B043A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#B043A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B043A2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B043A2#FFFFFF#000000##FFFFFF
##B043A21.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4065A5
Deuteranopia (green-blind)
#63759F
Tritanopia (blue-blind)
#B74C6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b043a2;
/* rgb */ color: rgb(176, 67, 162);
/* oklch */ color: oklch(56.5% 0.180 333.1);
Tailwind
colors: {
  custom: {
    50: '#ca7ebe',
    500: '#b043a2',
    950: '#000000',
  },
}
SCSS
$custom: #b043a2;
$custom-light: #ca7ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#b043a2",
  "rgb": {
    "r": 176,
    "g": 67,
    "b": 162
  },
  "hsl": {
    "h": 307.706,
    "s": 44.856,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56462,
    "c": 0.17998,
    "h": 333.1
  },
  "luminance": 0.15853
}

Semantic roles & 50–950 ramp

primary
#B043A2
secondary
#8CC393
accent
#D56453
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B043A2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B043A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva