#B122BD#B122BD

#B122BD is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.3% C 0.238 H 324.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B122BD
RGBrgb(177, 34, 189)
HSLhsl(295, 70%, 44%)
HSVhsv(295, 82%, 74%)
CMYKcmyk(6.3%, 82%, 0%, 25.9%)
CIE-LABlab(44.47, 71.60, -49.42)
CIE-LCHlch(44.47, 87.00, 325.38°)
OKLaboklab(55.3% 0.1936 -0.138)
OKLCHoklch(55.3% 0.238 324.5)
XYZxyz(27.8881, 14.1671, 49.3999)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B122BD #2EBD22
analogous
#6322BD #B122BD #BD227B
triadic
#B122BD #BDB122 #22BDB1
tetradic
#B122BD #BD6322 #2EBD22 #227BBD
square
#B122BD #BD6322 #2EBD22 #227BBD
split-complementary
#B122BD #7BBD22 #22BD63
monochromatic
#500F55 #801989 #B122BD #D040DD #DD73E6

Accessibility & contrast

On white

5.48
#B122BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B122BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B122BD
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B122BD#FFFFFF#000000##FFFFFF
##B122BD1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#456FBA
Tritanopia (blue-blind)
#B54372
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b122bd;
/* rgb */ color: rgb(177, 34, 189);
/* oklch */ color: oklch(55.3% 0.238 324.5);
Tailwind
colors: {
  custom: {
    50: '#cd71d1',
    500: '#b122bd',
    950: '#000000',
  },
}
SCSS
$custom: #b122bd;
$custom-light: #cd71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b122bd",
  "rgb": {
    "r": 177,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 295.355,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55304,
    "c": 0.23776,
    "h": 324.5
  },
  "luminance": 0.14165
}

Semantic roles & 50–950 ramp

primary
#B122BD
secondary
#75CD6E
accent
#EC3B49
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B122BD

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

Preview Lab → · Contrast checker → · Palette generator →

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