#B225B1#B225B1

#B225B1 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.9% C 0.227 H 328.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B225B1
RGBrgb(178, 37, 177)
HSLhsl(300, 66%, 42%)
HSVhsv(300, 79%, 70%)
CMYKcmyk(0%, 79.2%, 0.6%, 30.2%)
CIE-LABlab(44.18, 69.11, -42.82)
CIE-LCHlch(44.18, 81.29, 328.22°)
OKLaboklab(54.9% 0.1934 -0.1187)
OKLCHoklch(54.9% 0.227 328.5)
XYZxyz(26.9572, 13.9645, 42.8621)
Luminance0.1396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B225B1 #25B226
analogous
#6D25B2 #B225B1 #B2256A
triadic
#B225B1 #B1B225 #25B1B2
tetradic
#B225B1 #B26D25 #25B226 #256AB2
square
#B225B1 #B26D25 #25B226 #256AB2
split-complementary
#B225B1 #6AB225 #25B26D
monochromatic
#4D104C #7F1A7F #B225B1 #D73DD6 #E170E0

Accessibility & contrast

On white

5.54
#B225B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B225B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B225B1
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B225B1#FFFFFF#000000##FFFFFF
##B225B11.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#506FAE
Tritanopia (blue-blind)
#B83D6C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b225b1;
/* rgb */ color: rgb(178, 37, 177);
/* oklch */ color: oklch(54.9% 0.227 328.5);
Tailwind
colors: {
  custom: {
    50: '#cd72c9',
    500: '#b225b1',
    950: '#000000',
  },
}
SCSS
$custom: #b225b1;
$custom-light: #cd72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b225b1",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 300.426,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.54902,
    "c": 0.22695,
    "h": 328.5
  },
  "luminance": 0.13962
}

Semantic roles & 50–950 ramp

primary
#B225B1
secondary
#6BC86B
accent
#E9403F
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B225B1

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

Preview Lab → · Contrast checker → · Palette generator →

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