#B220B3#B220B3

#B220B3 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.7% C 0.232 H 327.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B220B3
RGBrgb(178, 32, 179)
HSLhsl(300, 70%, 41%)
HSVhsv(300, 82%, 70%)
CMYKcmyk(0.6%, 82.1%, 0%, 29.8%)
CIE-LABlab(43.88, 70.64, -44.48)
CIE-LCHlch(43.88, 83.47, 327.80°)
OKLaboklab(54.73% 0.1968 -0.1235)
OKLCHoklch(54.73% 0.232 327.9)
XYZxyz(27.0130, 13.7547, 43.8713)
Luminance0.1375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B220B3 #21B320
analogous
#6920B3 #B220B3 #B3206B
triadic
#B220B3 #B3B220 #20B3B2
tetradic
#B220B3 #B36920 #21B320 #206BB3
square
#B220B3 #B36920 #21B320 #206BB3
split-complementary
#B220B3 #6BB320 #20B369
monochromatic
#4B0D4B #7E177F #B220B3 #DA35DB #E369E4

Accessibility & contrast

On white

5.60
#B220B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#B220B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B220B3
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B220B3#FFFFFF#000000##FFFFFF
##B220B31.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#4C6EB0
Tritanopia (blue-blind)
#B83C6C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b220b3;
/* rgb */ color: rgb(178, 32, 179);
/* oklch */ color: oklch(54.7% 0.232 327.9);
Tailwind
colors: {
  custom: {
    50: '#cd70ca',
    500: '#b220b3',
    950: '#000000',
  },
}
SCSS
$custom: #b220b3;
$custom-light: #cd70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b220b3",
  "rgb": {
    "r": 178,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 299.592,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.54725,
    "c": 0.23234,
    "h": 327.9
  },
  "luminance": 0.13753
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B220B3

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

Preview Lab → · Contrast checker → · Palette generator →

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