#B022D3#B022D3

#B022D3 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.6% C 0.254 H 318.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B022D3
RGBrgb(176, 34, 211)
HSLhsl(288, 72%, 48%)
HSVhsv(288, 84%, 83%)
CMYKcmyk(16.6%, 83.9%, 0%, 17.3%)
CIE-LABlab(45.74, 75.18, -60.15)
CIE-LCHlch(45.74, 96.28, 321.34°)
OKLaboklab(56.62% 0.1893 -0.1695)
OKLCHoklch(56.62% 0.254 318.2)
XYZxyz(30.2327, 15.0788, 62.9334)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B022D3 #45D322
analogous
#5822D3 #B022D3 #D3229D
triadic
#B022D3 #D3B022 #22D3B0
tetradic
#B022D3 #D35822 #45D322 #229DD3
square
#B022D3 #D35822 #45D322 #229DD3
split-complementary
#B022D3 #9DD322 #22D358
monochromatic
#58116A #841A9E #B022D3 #C64FE3 #D784EB

Accessibility & contrast

On white

5.23
#B022D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B022D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B022D3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B022D3#FFFFFF#000000##FFFFFF
##B022D31.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D7
Deuteranopia (green-blind)
#2C70CF
Tritanopia (blue-blind)
#AF4E7F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b022d3;
/* rgb */ color: rgb(176, 34, 211);
/* oklch */ color: oklch(56.6% 0.254 318.2);
Tailwind
colors: {
  custom: {
    50: '#cd72e1',
    500: '#b022d3',
    950: '#000000',
  },
}
SCSS
$custom: #b022d3;
$custom-light: #cd72e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b022d3",
  "rgb": {
    "r": 176,
    "g": 34,
    "b": 211
  },
  "hsl": {
    "h": 288.136,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5662,
    "c": 0.25406,
    "h": 318.2
  },
  "luminance": 0.15077
}

Semantic roles & 50–950 ramp

primary
#B022D3
secondary
#8ED47D
accent
#EF395D
background
#FDF7FD
surface
#FAEDFB
border
#D3C8D4
text
#140915
muted
#837B83

Preview Lab

Preview with #B022D3

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

Preview Lab → · Contrast checker → · Palette generator →

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