#B223BC#B223BC

#B223BC is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.4% C 0.237 H 325.1°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B223BC
RGBrgb(178, 35, 188)
HSLhsl(296, 69%, 44%)
HSVhsv(296, 81%, 74%)
CMYKcmyk(5.3%, 81.4%, 0%, 26.3%)
CIE-LABlab(44.66, 71.38, -48.52)
CIE-LCHlch(44.66, 86.31, 325.79°)
OKLaboklab(55.45% 0.1941 -0.1354)
OKLCHoklch(55.45% 0.237 325.1)
XYZxyz(28.0376, 14.2998, 48.8506)
Luminance0.1430 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B223BC #2DBC23
analogous
#6523BC #B223BC #BC2379
triadic
#B223BC #BCB223 #23BCB2
tetradic
#B223BC #BC6523 #2DBC23 #2379BC
square
#B223BC #BC6523 #2DBC23 #2379BC
split-complementary
#B223BC #79BC23 #23BC65
monochromatic
#501055 #811988 #B223BC #D141DC #DE74E5

Accessibility & contrast

On white

5.44
#B223BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B223BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B223BC
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B223BC#FFFFFF#000000##FFFFFF
##B223BC1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#476FB9
Tritanopia (blue-blind)
#B64271
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b223bc;
/* rgb */ color: rgb(178, 35, 188);
/* oklch */ color: oklch(55.4% 0.237 325.1);
Tailwind
colors: {
  custom: {
    50: '#cd72d1',
    500: '#b223bc',
    950: '#000000',
  },
}
SCSS
$custom: #b223bc;
$custom-light: #cd72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b223bc",
  "rgb": {
    "r": 178,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 296.078,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55449,
    "c": 0.23666,
    "h": 325.1
  },
  "luminance": 0.14298
}

Semantic roles & 50–950 ramp

primary
#B223BC
secondary
#75CC6F
accent
#EB3C48
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B223BC

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

Preview Lab → · Contrast checker → · Palette generator →

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