#B023A9#B023A9

#B023A9 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.222 H 330.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B023A9
RGBrgb(176, 35, 169)
HSLhsl(303, 67%, 41%)
HSVhsv(303, 80%, 69%)
CMYKcmyk(0%, 80.1%, 4%, 31%)
CIE-LABlab(43.21, 67.97, -39.64)
CIE-LCHlch(43.21, 78.68, 329.75°)
OKLaboklab(54% 0.193 -0.1095)
OKLCHoklch(54% 0.222 330.4)
XYZxyz(25.6669, 13.2988, 38.7435)
Luminance0.1330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B023A9 #23B02A
analogous
#7123B0 #B023A9 #B02363
triadic
#B023A9 #A9B023 #23A9B0
tetradic
#B023A9 #B07123 #23B02A #2363B0
square
#B023A9 #B07123 #23B02A #2363B0
split-complementary
#B023A9 #63B023 #23B071
monochromatic
#4A0F47 #7D1978 #B023A9 #D839D0 #E26CDC

Accessibility & contrast

On white

5.74
#B023A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B023A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B023A9
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B023A9#FFFFFF#000000##FFFFFF
##B023A91.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085AAC
Deuteranopia (green-blind)
#526DA6
Tritanopia (blue-blind)
#B73867
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b023a9;
/* rgb */ color: rgb(176, 35, 169);
/* oklch */ color: oklch(54.0% 0.222 330.4);
Tailwind
colors: {
  custom: {
    50: '#cc70c3',
    500: '#b023a9',
    950: '#000000',
  },
}
SCSS
$custom: #b023a9;
$custom-light: #cc70c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b023a9",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 302.979,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.54001,
    "c": 0.22195,
    "h": 330.4
  },
  "luminance": 0.13297
}

Semantic roles & 50–950 ramp

primary
#B023A9
secondary
#67C86C
accent
#EA473E
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B023A9

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

Preview Lab → · Contrast checker → · Palette generator →

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