#B043B2#B043B2

#B043B2 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.3% C 0.193 H 327.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B043B2
RGBrgb(176, 67, 178)
HSLhsl(299, 45%, 48%)
HSVhsv(299, 62%, 70%)
CMYKcmyk(1.1%, 62.4%, 0%, 30.2%)
CIE-LABlab(47.57, 58.46, -38.05)
CIE-LCHlch(47.57, 69.75, 326.94°)
OKLaboklab(57.29% 0.162 -0.1052)
OKLCHoklch(57.29% 0.193 327)
XYZxyz(27.9471, 16.4606, 43.8160)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B043B2 #45B243
analogous
#7843B2 #B043B2 #B2437C
triadic
#B043B2 #B2B043 #43B2B0
tetradic
#B043B2 #B27843 #45B243 #437CB2
square
#B043B2 #B27843 #45B243 #437CB2
split-complementary
#B043B2 #7CB243 #43B278
monochromatic
#582259 #843286 #B043B2 #C66BC7 #D797D8

Accessibility & contrast

On white

4.89
#B043B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#B043B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B043B2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B043B2#FFFFFF#000000##FFFFFF
##B043B21.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3468B5
Deuteranopia (green-blind)
#5C76AF
Tritanopia (blue-blind)
#B55274
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b043b2;
/* rgb */ color: rgb(176, 67, 178);
/* oklch */ color: oklch(57.3% 0.193 327.0);
Tailwind
colors: {
  custom: {
    50: '#cb7fc9',
    500: '#b043b2',
    950: '#000000',
  },
}
SCSS
$custom: #b043b2;
$custom-light: #cb7fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b043b2",
  "rgb": {
    "r": 176,
    "g": 67,
    "b": 178
  },
  "hsl": {
    "h": 298.919,
    "s": 45.306,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57293,
    "c": 0.19314,
    "h": 327
  },
  "luminance": 0.16459
}

Semantic roles & 50–950 ramp

primary
#B043B2
secondary
#8EC48D
accent
#D55355
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B043B2

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

Preview Lab → · Contrast checker → · Palette generator →

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