#B225A0#B225A0

#B225A0 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.215 H 334.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B225A0
RGBrgb(178, 37, 160)
HSLhsl(308, 66%, 42%)
HSVhsv(308, 79%, 70%)
CMYKcmyk(0%, 79.2%, 10.1%, 30.2%)
CIE-LABlab(43.25, 66.51, -34.17)
CIE-LCHlch(43.25, 74.78, 332.81°)
OKLaboklab(53.94% 0.1934 -0.0937)
OKLCHoklch(53.94% 0.215 334.1)
XYZxyz(25.3671, 13.3285, 34.4875)
Luminance0.1333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B225A0 #25B237
analogous
#7E25B2 #B225A0 #B22559
triadic
#B225A0 #A0B225 #25A0B2
tetradic
#B225A0 #B27E25 #25B237 #2559B2
square
#B225A0 #B27E25 #25B237 #2559B2
split-complementary
#B225A0 #59B225 #25B27E
monochromatic
#4D1045 #7F1A72 #B225A0 #D73DC3 #E170D3

Accessibility & contrast

On white

5.73
#B225A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B225A0
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B225A0#FFFFFF#000000##FFFFFF
##B225A01.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2159A3
Deuteranopia (green-blind)
#596D9D
Tritanopia (blue-blind)
#BB3462
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b225a0;
/* rgb */ color: rgb(178, 37, 160);
/* oklch */ color: oklch(53.9% 0.215 334.1);
Tailwind
colors: {
  custom: {
    50: '#cd71bc',
    500: '#b225a0',
    950: '#000000',
  },
}
SCSS
$custom: #b225a0;
$custom-light: #cd71bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b225a0",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 160
  },
  "hsl": {
    "h": 307.66,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53941,
    "c": 0.21487,
    "h": 334.1
  },
  "luminance": 0.13326
}

Semantic roles & 50–950 ramp

primary
#B225A0
secondary
#6BC877
accent
#E9553F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B225A0

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

Preview Lab → · Contrast checker → · Palette generator →

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