#B120B3#B120B3

#B120B3 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.6% C 0.232 H 327.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B120B3
RGBrgb(177, 32, 179)
HSLhsl(299, 70%, 41%)
HSVhsv(299, 82%, 70%)
CMYKcmyk(1.1%, 82.1%, 0%, 29.8%)
CIE-LABlab(43.71, 70.45, -44.76)
CIE-LCHlch(43.71, 83.47, 327.57°)
OKLaboklab(54.57% 0.1957 -0.1244)
OKLCHoklch(54.57% 0.232 327.6)
XYZxyz(26.7843, 13.6368, 43.8605)
Luminance0.1363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B120B3 #22B320
analogous
#6820B3 #B120B3 #B3206C
triadic
#B120B3 #B3B120 #20B3B1
tetradic
#B120B3 #B36820 #22B320 #206CB3
square
#B120B3 #B36820 #22B320 #206CB3
split-complementary
#B120B3 #6CB320 #20B368
monochromatic
#4A0D4B #7E177F #B120B3 #D935DB #E369E4

Accessibility & contrast

On white

5.63
#B120B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B120B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B120B3
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B120B3#FFFFFF#000000##FFFFFF
##B120B31.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#4B6DB0
Tritanopia (blue-blind)
#B63C6C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b120b3;
/* rgb */ color: rgb(177, 32, 179);
/* oklch */ color: oklch(54.6% 0.232 327.6);
Tailwind
colors: {
  custom: {
    50: '#cd70ca',
    500: '#b120b3',
    950: '#000000',
  },
}
SCSS
$custom: #b120b3;
$custom-light: #cd70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b120b3",
  "rgb": {
    "r": 177,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 299.184,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.54571,
    "c": 0.23192,
    "h": 327.6
  },
  "luminance": 0.13635
}

Semantic roles & 50–950 ramp

primary
#B120B3
secondary
#66CA65
accent
#EC3B3E
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B120B3

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

Preview Lab → · Contrast checker → · Palette generator →

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