#B020B3#B020B3

#B020B3 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.4% C 0.232 H 327.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B020B3
RGBrgb(176, 32, 179)
HSLhsl(299, 70%, 41%)
HSVhsv(299, 82%, 70%)
CMYKcmyk(1.7%, 82.1%, 0%, 29.8%)
CIE-LABlab(43.54, 70.26, -45.05)
CIE-LCHlch(43.54, 83.46, 327.33°)
OKLaboklab(54.42% 0.1947 -0.1253)
OKLCHoklch(54.42% 0.232 327.2)
XYZxyz(26.5573, 13.5198, 43.8499)
Luminance0.1352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B020B3 #23B320
analogous
#6720B3 #B020B3 #B3206C
triadic
#B020B3 #B3B020 #20B3B0
tetradic
#B020B3 #B36720 #23B320 #206CB3
square
#B020B3 #B36720 #23B320 #206CB3
split-complementary
#B020B3 #6CB320 #20B367
monochromatic
#4A0D4B #7D177F #B020B3 #D835DB #E269E4

Accessibility & contrast

On white

5.67
#B020B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B020B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B020B3
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B020B3#FFFFFF#000000##FFFFFF
##B020B31.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#4A6DB0
Tritanopia (blue-blind)
#B53D6C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b020b3;
/* rgb */ color: rgb(176, 32, 179);
/* oklch */ color: oklch(54.4% 0.232 327.2);
Tailwind
colors: {
  custom: {
    50: '#cc70ca',
    500: '#b020b3',
    950: '#000000',
  },
}
SCSS
$custom: #b020b3;
$custom-light: #cc70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b020b3",
  "rgb": {
    "r": 176,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 298.776,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.54417,
    "c": 0.2315,
    "h": 327.2
  },
  "luminance": 0.13518
}

Semantic roles & 50–950 ramp

primary
#B020B3
secondary
#67CA65
accent
#EC3B3F
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B020B3

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

Preview Lab → · Contrast checker → · Palette generator →

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