#B224B1#B224B1

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

Color values

HEX#B224B1
RGBrgb(178, 36, 177)
HSLhsl(300, 66%, 42%)
HSVhsv(300, 80%, 70%)
CMYKcmyk(0%, 79.8%, 0.6%, 30.2%)
CIE-LABlab(44.09, 69.36, -42.96)
CIE-LCHlch(44.09, 81.59, 328.23°)
OKLaboklab(54.84% 0.1942 -0.1191)
OKLCHoklch(54.84% 0.228 328.5)
XYZxyz(26.9265, 13.9031, 42.8518)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B224B1 #24B225
analogous
#6C24B2 #B224B1 #B2246A
triadic
#B224B1 #B1B224 #24B1B2
tetradic
#B224B1 #B26C24 #24B225 #246AB2
square
#B224B1 #B26C24 #24B225 #246AB2
split-complementary
#B224B1 #6AB224 #24B26C
monochromatic
#4C0F4C #7F1A7E #B224B1 #D83CD6 #E26FE1

Accessibility & contrast

On white

5.56
#B224B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B224B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B224B1
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B224B1#FFFFFF#000000##FFFFFF
##B224B11.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b224b1;
/* rgb */ color: rgb(178, 36, 177);
/* oklch */ color: oklch(54.8% 0.228 328.5);
Tailwind
colors: {
  custom: {
    50: '#cd71c9',
    500: '#b224b1',
    950: '#000000',
  },
}
SCSS
$custom: #b224b1;
$custom-light: #cd71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b224b1",
  "rgb": {
    "r": 178,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 300.423,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.54839,
    "c": 0.22779,
    "h": 328.5
  },
  "luminance": 0.13901
}

Semantic roles & 50–950 ramp

primary
#B224B1
secondary
#69C86A
accent
#E9403F
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B224B1

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

Preview Lab → · Contrast checker → · Palette generator →

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