#B223B1#B223B1

#B223B1 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.8% C 0.229 H 328.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B223B1
RGBrgb(178, 35, 177)
HSLhsl(300, 67%, 42%)
HSVhsv(300, 80%, 70%)
CMYKcmyk(0%, 80.3%, 0.6%, 30.2%)
CIE-LABlab(44.01, 69.61, -43.09)
CIE-LCHlch(44.01, 81.87, 328.24°)
OKLaboklab(54.78% 0.1949 -0.1195)
OKLCHoklch(54.78% 0.229 328.5)
XYZxyz(26.8967, 13.8434, 42.8419)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B223B1 #23B224
analogous
#6C23B2 #B223B1 #B22369
triadic
#B223B1 #B1B223 #23B1B2
tetradic
#B223B1 #B26C23 #23B224 #2369B2
square
#B223B1 #B26C23 #23B224 #2369B2
split-complementary
#B223B1 #69B223 #23B26C
monochromatic
#4C0F4B #7F197E #B223B1 #D83AD7 #E26DE1

Accessibility & contrast

On white

5.57
#B223B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B223B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B223B1
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B223B1#FFFFFF#000000##FFFFFF
##B223B11.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#4F6EAE
Tritanopia (blue-blind)
#B83C6B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b223b1;
/* rgb */ color: rgb(178, 35, 177);
/* oklch */ color: oklch(54.8% 0.229 328.5);
Tailwind
colors: {
  custom: {
    50: '#cd71c9',
    500: '#b223b1',
    950: '#000000',
  },
}
SCSS
$custom: #b223b1;
$custom-light: #cd71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b223b1",
  "rgb": {
    "r": 178,
    "g": 35,
    "b": 177
  },
  "hsl": {
    "h": 300.42,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54778,
    "c": 0.22859,
    "h": 328.5
  },
  "luminance": 0.13841
}

Semantic roles & 50–950 ramp

primary
#B223B1
secondary
#68C969
accent
#EA3F3E
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B223B1

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

Preview Lab → · Contrast checker → · Palette generator →

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