#B023A2#B023A2

#B023A2 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.217 H 332.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B023A2
RGBrgb(176, 35, 162)
HSLhsl(306, 67%, 41%)
HSVhsv(306, 80%, 69%)
CMYKcmyk(0%, 80.1%, 8%, 31%)
CIE-LABlab(42.83, 66.91, -36.06)
CIE-LCHlch(42.83, 76.01, 331.67°)
OKLaboklab(53.61% 0.193 -0.0992)
OKLCHoklch(53.61% 0.217 332.8)
XYZxyz(25.0273, 13.0430, 35.3749)
Luminance0.1304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B023A2 #23B031
analogous
#7823B0 #B023A2 #B0235C
triadic
#B023A2 #A2B023 #23A2B0
tetradic
#B023A2 #B07823 #23B031 #235CB0
square
#B023A2 #B07823 #23B031 #235CB0
split-complementary
#B023A2 #5CB023 #23B078
monochromatic
#4A0F44 #7D1973 #B023A2 #D839C8 #E26CD6

Accessibility & contrast

On white

5.82
#B023A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B023A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B023A2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B023A2#FFFFFF#000000##FFFFFF
##B023A21.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1959A5
Deuteranopia (green-blind)
#556C9F
Tritanopia (blue-blind)
#B83463
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b023a2;
/* rgb */ color: rgb(176, 35, 162);
/* oklch */ color: oklch(53.6% 0.217 332.8);
Tailwind
colors: {
  custom: {
    50: '#cc70be',
    500: '#b023a2',
    950: '#000000',
  },
}
SCSS
$custom: #b023a2;
$custom-light: #cc70be;
$custom-dark: #000000;
JSON
{
  "hex": "#b023a2",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 162
  },
  "hsl": {
    "h": 305.957,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53605,
    "c": 0.21701,
    "h": 332.8
  },
  "luminance": 0.13041
}

Semantic roles & 50–950 ramp

primary
#B023A2
secondary
#67C871
accent
#EA4F3E
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B023A2

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

Preview Lab → · Contrast checker → · Palette generator →

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