#B122A2#B122A2

#B122A2 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.218 H 333.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B122A2
RGBrgb(177, 34, 162)
HSLhsl(306, 68%, 41%)
HSVhsv(306, 81%, 69%)
CMYKcmyk(0%, 80.8%, 8.5%, 30.6%)
CIE-LABlab(42.92, 67.37, -35.91)
CIE-LCHlch(42.92, 76.34, 331.94°)
OKLaboklab(53.7% 0.1947 -0.0987)
OKLCHoklch(53.7% 0.218 333.1)
XYZxyz(25.2253, 13.1020, 35.3758)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B122A2 #22B131
analogous
#7922B1 #B122A2 #B1225B
triadic
#B122A2 #A2B122 #22A2B1
tetradic
#B122A2 #B17922 #22B131 #225BB1
square
#B122A2 #B17922 #22B131 #225BB1
split-complementary
#B122A2 #5BB122 #22B179
monochromatic
#4A0E44 #7E1873 #B122A2 #D938C8 #E36BD6

Accessibility & contrast

On white

5.80
#B122A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B122A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B122A2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B122A2#FFFFFF#000000##FFFFFF
##B122A21.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1959A5
Deuteranopia (green-blind)
#566C9F
Tritanopia (blue-blind)
#B93462
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b122a2;
/* rgb */ color: rgb(177, 34, 162);
/* oklch */ color: oklch(53.7% 0.218 333.1);
Tailwind
colors: {
  custom: {
    50: '#cc70be',
    500: '#b122a2',
    950: '#000000',
  },
}
SCSS
$custom: #b122a2;
$custom-light: #cc70be;
$custom-dark: #000000;
JSON
{
  "hex": "#b122a2",
  "rgb": {
    "r": 177,
    "g": 34,
    "b": 162
  },
  "hsl": {
    "h": 306.294,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53701,
    "c": 0.21832,
    "h": 333.1
  },
  "luminance": 0.131
}

Semantic roles & 50–950 ramp

primary
#B122A2
secondary
#66C971
accent
#EB4F3D
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B122A2

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

Preview Lab → · Contrast checker → · Palette generator →

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