#B023AB#B023AB

#B023AB is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.223 H 329.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B023AB
RGBrgb(176, 35, 171)
HSLhsl(302, 67%, 41%)
HSVhsv(302, 80%, 69%)
CMYKcmyk(0%, 80.1%, 2.8%, 31%)
CIE-LABlab(43.32, 68.28, -40.65)
CIE-LCHlch(43.32, 79.46, 329.23°)
OKLaboklab(54.12% 0.193 -0.1125)
OKLCHoklch(54.12% 0.223 329.8)
XYZxyz(25.8561, 13.3745, 39.7399)
Luminance0.1337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B023AB #23B028
analogous
#6F23B0 #B023AB #B02365
triadic
#B023AB #ABB023 #23ABB0
tetradic
#B023AB #B06F23 #23B028 #2365B0
square
#B023AB #B06F23 #23B028 #2365B0
split-complementary
#B023AB #65B023 #23B06F
monochromatic
#4A0F48 #7D1979 #B023AB #D839D2 #E26CDE

Accessibility & contrast

On white

5.72
#B023AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B023AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B023AB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B023AB#FFFFFF#000000##FFFFFF
##B023AB1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015AAE
Deuteranopia (green-blind)
#506DA8
Tritanopia (blue-blind)
#B73A68
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b023ab;
/* rgb */ color: rgb(176, 35, 171);
/* oklch */ color: oklch(54.1% 0.223 329.8);
Tailwind
colors: {
  custom: {
    50: '#cc70c4',
    500: '#b023ab',
    950: '#000000',
  },
}
SCSS
$custom: #b023ab;
$custom-light: #cc70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b023ab",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 171
  },
  "hsl": {
    "h": 302.128,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.54116,
    "c": 0.22338,
    "h": 329.8
  },
  "luminance": 0.13372
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B023AB

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

Preview Lab → · Contrast checker → · Palette generator →

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