#B225A1#B225A1

#B225A1 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.216 H 333.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B225A1
RGBrgb(178, 37, 161)
HSLhsl(307, 66%, 42%)
HSVhsv(307, 79%, 70%)
CMYKcmyk(0%, 79.2%, 9.6%, 30.2%)
CIE-LABlab(43.31, 66.66, -34.69)
CIE-LCHlch(43.31, 75.15, 332.51°)
OKLaboklab(54% 0.1934 -0.0952)
OKLCHoklch(54% 0.216 333.8)
XYZxyz(25.4549, 13.3636, 34.9501)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B225A1 #25B236
analogous
#7D25B2 #B225A1 #B2255B
triadic
#B225A1 #A1B225 #25A1B2
tetradic
#B225A1 #B27D25 #25B236 #255BB2
square
#B225A1 #B27D25 #25B236 #255BB2
split-complementary
#B225A1 #5BB225 #25B27D
monochromatic
#4D1045 #7F1A73 #B225A1 #D73DC4 #E170D4

Accessibility & contrast

On white

5.72
#B225A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B225A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B225A1
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B225A1#FFFFFF#000000##FFFFFF
##B225A11.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2059A4
Deuteranopia (green-blind)
#586D9E
Tritanopia (blue-blind)
#BA3462
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b225a1;
/* rgb */ color: rgb(178, 37, 161);
/* oklch */ color: oklch(54.0% 0.216 333.8);
Tailwind
colors: {
  custom: {
    50: '#cd71bd',
    500: '#b225a1',
    950: '#000000',
  },
}
SCSS
$custom: #b225a1;
$custom-light: #cd71bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b225a1",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 161
  },
  "hsl": {
    "h": 307.234,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53995,
    "c": 0.21556,
    "h": 333.8
  },
  "luminance": 0.13361
}

Semantic roles & 50–950 ramp

primary
#B225A1
secondary
#6BC876
accent
#E9543F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B225A1

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

Preview Lab → · Contrast checker → · Palette generator →

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