#B20FA8#B20FA8

#B20FA8 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.3% C 0.235 H 331.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B20FA8
RGBrgb(178, 15, 168)
HSLhsl(304, 84%, 38%)
HSVhsv(304, 92%, 70%)
CMYKcmyk(0%, 91.6%, 5.6%, 30.2%)
CIE-LABlab(42.21, 71.99, -40.61)
CIE-LCHlch(42.21, 82.66, 330.57°)
OKLaboklab(53.34% 0.206 -0.1122)
OKLCHoklch(53.34% 0.235 331.4)
XYZxyz(25.5989, 12.6360, 38.1290)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B20FA8 #0FB219
analogous
#6A0FB2 #B20FA8 #B20F56
triadic
#B20FA8 #A8B20F #0FA8B2
tetradic
#B20FA8 #B26A0F #0FB219 #0F56B2
square
#B20FA8 #B26A0F #0FB219 #0F56B2
split-complementary
#B20FA8 #56B20F #0FB26A
monochromatic
#41053D #7A0A73 #B20FA8 #EA14DD #F04CE6

Accessibility & contrast

On white

5.95
#B20FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B20FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B20FA8
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B20FA8#FFFFFF#000000##FFFFFF
##B20FA81.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#4F6BA5
Tritanopia (blue-blind)
#BA2E63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b20fa8;
/* rgb */ color: rgb(178, 15, 168);
/* oklch */ color: oklch(53.3% 0.235 331.4);
Tailwind
colors: {
  custom: {
    50: '#ce6cc2',
    500: '#b20fa8',
    950: '#000000',
  },
}
SCSS
$custom: #b20fa8;
$custom-light: #ce6cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#b20fa8",
  "rgb": {
    "r": 178,
    "g": 15,
    "b": 168
  },
  "hsl": {
    "h": 303.681,
    "s": 84.456,
    "l": 37.843
  },
  "oklch": {
    "l": 0.53339,
    "c": 0.23457,
    "h": 331.4
  },
  "luminance": 0.12634
}

Semantic roles & 50–950 ramp

primary
#B20FA8
secondary
#4CD154
accent
#FB3A2D
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140812
muted
#837B81

Preview Lab

Preview with #B20FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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