#B023A1#B023A1

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

Color values

HEX#B023A1
RGBrgb(176, 35, 161)
HSLhsl(306, 67%, 41%)
HSVhsv(306, 80%, 69%)
CMYKcmyk(0%, 80.1%, 8.5%, 31%)
CIE-LABlab(42.77, 66.76, -35.55)
CIE-LCHlch(42.77, 75.63, 331.96°)
OKLaboklab(53.55% 0.193 -0.0977)
OKLCHoklch(53.55% 0.216 333.1)
XYZxyz(24.9387, 13.0076, 34.9086)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B023A1 #23B032
analogous
#7923B0 #B023A1 #B0235B
triadic
#B023A1 #A1B023 #23A1B0
tetradic
#B023A1 #B07923 #23B032 #235BB0
square
#B023A1 #B07923 #23B032 #235BB0
split-complementary
#B023A1 #5BB023 #23B079
monochromatic
#4A0F44 #7D1972 #B023A1 #D839C7 #E26CD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B023A1#FFFFFF#000000##FFFFFF
##B023A11.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)
#1B58A4
Deuteranopia (green-blind)
#566C9E
Tritanopia (blue-blind)
#B83462
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b023a1;
/* rgb */ color: rgb(176, 35, 161);
/* oklch */ color: oklch(53.5% 0.216 333.1);
Tailwind
colors: {
  custom: {
    50: '#cc70bd',
    500: '#b023a1',
    950: '#000000',
  },
}
SCSS
$custom: #b023a1;
$custom-light: #cc70bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b023a1",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 161
  },
  "hsl": {
    "h": 306.383,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53549,
    "c": 0.2163,
    "h": 333.1
  },
  "luminance": 0.13005
}

Semantic roles & 50–950 ramp

primary
#B023A1
secondary
#67C871
accent
#EA503E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B023A1

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

Preview Lab → · Contrast checker → · Palette generator →

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