#B223AC#B223AC

#B223AC is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.5% C 0.225 H 330.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B223AC
RGBrgb(178, 35, 172)
HSLhsl(303, 67%, 42%)
HSVhsv(303, 80%, 70%)
CMYKcmyk(0%, 80.3%, 3.4%, 30.2%)
CIE-LABlab(43.72, 68.83, -40.58)
CIE-LCHlch(43.72, 79.91, 329.48°)
OKLaboklab(54.48% 0.195 -0.1122)
OKLCHoklch(54.48% 0.225 330.1)
XYZxyz(26.4074, 13.6477, 40.2652)
Luminance0.1365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B223AC #23B229
analogous
#7023B2 #B223AC #B22365
triadic
#B223AC #ACB223 #23ACB2
tetradic
#B223AC #B27023 #23B229 #2365B2
square
#B223AC #B27023 #23B229 #2365B2
split-complementary
#B223AC #65B223 #23B270
monochromatic
#4C0F49 #7F197B #B223AC #D83AD2 #E26DDD

Accessibility & contrast

On white

5.63
#B223AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B223AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B223AC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B223AC#FFFFFF#000000##FFFFFF
##B223AC1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035BB0
Deuteranopia (green-blind)
#526EA9
Tritanopia (blue-blind)
#B93A68
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b223ac;
/* rgb */ color: rgb(178, 35, 172);
/* oklch */ color: oklch(54.5% 0.225 330.1);
Tailwind
colors: {
  custom: {
    50: '#cd71c5',
    500: '#b223ac',
    950: '#000000',
  },
}
SCSS
$custom: #b223ac;
$custom-light: #cd71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b223ac",
  "rgb": {
    "r": 178,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 302.517,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54485,
    "c": 0.225,
    "h": 330.1
  },
  "luminance": 0.13646
}

Semantic roles & 50–950 ramp

primary
#B223AC
secondary
#68C96C
accent
#EA453E
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B223AC

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

Preview Lab → · Contrast checker → · Palette generator →

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