#B022A3#B022A3

#B022A3 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.219 H 332.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B022A3
RGBrgb(176, 34, 163)
HSLhsl(305, 68%, 41%)
HSVhsv(305, 81%, 69%)
CMYKcmyk(0%, 80.7%, 7.4%, 31%)
CIE-LABlab(42.79, 67.31, -36.72)
CIE-LCHlch(42.79, 76.67, 331.39°)
OKLaboklab(53.6% 0.1938 -0.1011)
OKLCHoklch(53.6% 0.219 332.5)
XYZxyz(25.0875, 13.0207, 35.8352)
Luminance0.1302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B022A3 #22B02F
analogous
#7622B0 #B022A3 #B0225C
triadic
#B022A3 #A3B022 #22A3B0
tetradic
#B022A3 #B07622 #22B02F #225CB0
square
#B022A3 #B07622 #22B02F #225CB0
split-complementary
#B022A3 #5CB022 #22B076
monochromatic
#490E44 #7D1873 #B022A3 #D837CA #E26AD7

Accessibility & contrast

On white

5.83
#B022A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B022A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B022A3
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B022A3#FFFFFF#000000##FFFFFF
##B022A31.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1658A6
Deuteranopia (green-blind)
#556CA0
Tritanopia (blue-blind)
#B83463
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b022a3;
/* rgb */ color: rgb(176, 34, 163);
/* oklch */ color: oklch(53.6% 0.219 332.5);
Tailwind
colors: {
  custom: {
    50: '#cc70bf',
    500: '#b022a3',
    950: '#000000',
  },
}
SCSS
$custom: #b022a3;
$custom-light: #cc70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b022a3",
  "rgb": {
    "r": 176,
    "g": 34,
    "b": 163
  },
  "hsl": {
    "h": 305.493,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53598,
    "c": 0.21854,
    "h": 332.5
  },
  "luminance": 0.13019
}

Semantic roles & 50–950 ramp

primary
#B022A3
secondary
#66C86F
accent
#EA4D3D
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B022A3

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

Preview Lab → · Contrast checker → · Palette generator →

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