#B022AF#B022AF

#B022AF is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.3% C 0.227 H 328.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B022AF
RGBrgb(176, 34, 175)
HSLhsl(300, 68%, 41%)
HSVhsv(300, 81%, 69%)
CMYKcmyk(0%, 80.7%, 0.6%, 31%)
CIE-LABlab(43.47, 69.15, -42.79)
CIE-LCHlch(43.47, 81.32, 328.25°)
OKLaboklab(54.29% 0.1936 -0.1187)
OKLCHoklch(54.29% 0.227 328.5)
XYZxyz(26.2141, 13.4713, 41.7687)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B022AF #22B023
analogous
#6A22B0 #B022AF #B02268
triadic
#B022AF #AFB022 #22AFB0
tetradic
#B022AF #B06A22 #22B023 #2268B0
square
#B022AF #B06A22 #22B023 #2268B0
split-complementary
#B022AF #68B022 #22B06A
monochromatic
#490E49 #7D187C #B022AF #D837D7 #E26AE1

Accessibility & contrast

On white

5.69
#B022AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B022AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B022AF
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B022AF#FFFFFF#000000##FFFFFF
##B022AF1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#4E6DAC
Tritanopia (blue-blind)
#B63B6A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b022af;
/* rgb */ color: rgb(176, 34, 175);
/* oklch */ color: oklch(54.3% 0.227 328.5);
Tailwind
colors: {
  custom: {
    50: '#cc70c7',
    500: '#b022af',
    950: '#000000',
  },
}
SCSS
$custom: #b022af;
$custom-light: #cc70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b022af",
  "rgb": {
    "r": 176,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 300.423,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.54291,
    "c": 0.22707,
    "h": 328.5
  },
  "luminance": 0.13469
}

Semantic roles & 50–950 ramp

primary
#B022AF
secondary
#66C866
accent
#EA3F3D
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B022AF

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

Preview Lab → · Contrast checker → · Palette generator →

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