#B023AC#B023AC

#B023AC is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.2% C 0.224 H 329.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B023AC
RGBrgb(176, 35, 172)
HSLhsl(302, 67%, 41%)
HSVhsv(302, 80%, 69%)
CMYKcmyk(0%, 80.1%, 2.3%, 31%)
CIE-LABlab(43.38, 68.43, -41.15)
CIE-LCHlch(43.38, 79.85, 328.98°)
OKLaboklab(54.18% 0.193 -0.1139)
OKLCHoklch(54.18% 0.224 329.4)
XYZxyz(25.9518, 13.4128, 40.2438)
Luminance0.1341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B023AC #23B027
analogous
#6E23B0 #B023AC #B02366
triadic
#B023AC #ACB023 #23ACB0
tetradic
#B023AC #B06E23 #23B027 #2366B0
square
#B023AC #B06E23 #23B027 #2366B0
split-complementary
#B023AC #66B023 #23B06E
monochromatic
#4A0F48 #7D197A #B023AC #D839D3 #E26CDE

Accessibility & contrast

On white

5.70
#B023AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B023AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B023AC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B023AC#FFFFFF#000000##FFFFFF
##B023AC1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB0
Deuteranopia (green-blind)
#506DA9
Tritanopia (blue-blind)
#B63A68
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b023ac;
/* rgb */ color: rgb(176, 35, 172);
/* oklch */ color: oklch(54.2% 0.224 329.4);
Tailwind
colors: {
  custom: {
    50: '#cc70c5',
    500: '#b023ac',
    950: '#000000',
  },
}
SCSS
$custom: #b023ac;
$custom-light: #cc70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b023ac",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 301.702,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.54175,
    "c": 0.2241,
    "h": 329.4
  },
  "luminance": 0.13411
}

Semantic roles & 50–950 ramp

primary
#B023AC
secondary
#67C86A
accent
#EA433E
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B023AC

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

Preview Lab → · Contrast checker → · Palette generator →

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