#B20FA6#B20FA6

#B20FA6 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.2% C 0.233 H 332.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B20FA6
RGBrgb(178, 15, 166)
HSLhsl(304, 84%, 38%)
HSVhsv(304, 92%, 70%)
CMYKcmyk(0%, 91.6%, 6.7%, 30.2%)
CIE-LABlab(42.10, 71.70, -39.59)
CIE-LCHlch(42.10, 81.91, 331.09°)
OKLaboklab(53.22% 0.2061 -0.1093)
OKLCHoklch(53.22% 0.233 332.1)
XYZxyz(25.4140, 12.5621, 37.1553)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B20FA6 #0FB21B
analogous
#6C0FB2 #B20FA6 #B20F55
triadic
#B20FA6 #A6B20F #0FA6B2
tetradic
#B20FA6 #B26C0F #0FB21B #0F55B2
square
#B20FA6 #B26C0F #0FB21B #0F55B2
split-complementary
#B20FA6 #55B20F #0FB26C
monochromatic
#41053D #7A0A71 #B20FA6 #EA14DB #F04CE4

Accessibility & contrast

On white

5.98
#B20FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B20FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B20FA6
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B20FA6#FFFFFF#000000##FFFFFF
##B20FA61.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#506BA3
Tritanopia (blue-blind)
#BA2D62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b20fa6;
/* rgb */ color: rgb(178, 15, 166);
/* oklch */ color: oklch(53.2% 0.233 332.1);
Tailwind
colors: {
  custom: {
    50: '#ce6cc1',
    500: '#b20fa6',
    950: '#000000',
  },
}
SCSS
$custom: #b20fa6;
$custom-light: #ce6cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#b20fa6",
  "rgb": {
    "r": 178,
    "g": 15,
    "b": 166
  },
  "hsl": {
    "h": 304.417,
    "s": 84.456,
    "l": 37.843
  },
  "oklch": {
    "l": 0.53222,
    "c": 0.23324,
    "h": 332.1
  },
  "luminance": 0.1256
}

Semantic roles & 50–950 ramp

primary
#B20FA6
secondary
#4CD156
accent
#FB3C2D
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B20FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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