#B225BD#B225BD

#B225BD is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.6% C 0.236 H 324.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B225BD
RGBrgb(178, 37, 189)
HSLhsl(296, 67%, 44%)
HSVhsv(296, 80%, 74%)
CMYKcmyk(5.8%, 80.4%, 0%, 25.9%)
CIE-LABlab(44.89, 71.05, -48.74)
CIE-LCHlch(44.89, 86.16, 325.55°)
OKLaboklab(55.63% 0.1927 -0.136)
OKLCHoklch(55.63% 0.236 324.8)
XYZxyz(28.2063, 14.4641, 49.4405)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B225BD #30BD25
analogous
#6625BD #B225BD #BD257C
triadic
#B225BD #BDB225 #25BDB2
tetradic
#B225BD #BD6625 #30BD25 #257CBD
square
#B225BD #BD6625 #30BD25 #257CBD
split-complementary
#B225BD #7CBD25 #25BD66
monochromatic
#521157 #821B8A #B225BD #D045DB #DD78E5

Accessibility & contrast

On white

5.40
#B225BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B225BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B225BD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B225BD#FFFFFF#000000##FFFFFF
##B225BD1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#4770BA
Tritanopia (blue-blind)
#B64472
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b225bd;
/* rgb */ color: rgb(178, 37, 189);
/* oklch */ color: oklch(55.6% 0.236 324.8);
Tailwind
colors: {
  custom: {
    50: '#cd72d1',
    500: '#b225bd',
    950: '#000000',
  },
}
SCSS
$custom: #b225bd;
$custom-light: #cd72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b225bd",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 189
  },
  "hsl": {
    "h": 295.658,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55632,
    "c": 0.23583,
    "h": 324.8
  },
  "luminance": 0.14462
}

Semantic roles & 50–950 ramp

primary
#B225BD
secondary
#78CC72
accent
#EA3E4A
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B225BD

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

Preview Lab → · Contrast checker → · Palette generator →

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