#B232B5#B232B5

#B232B5 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.217 H 327.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B232B5
RGBrgb(178, 50, 181)
HSLhsl(299, 57%, 45%)
HSVhsv(299, 72%, 71%)
CMYKcmyk(1.7%, 72.4%, 0%, 29%)
CIE-LABlab(45.75, 65.90, -42.68)
CIE-LCHlch(45.75, 78.51, 327.07°)
OKLaboklab(56.09% 0.1824 -0.1184)
OKLCHoklch(56.09% 0.218 327)
XYZxyz(27.8407, 15.0843, 45.1523)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B232B5 #35B532
analogous
#7032B5 #B232B5 #B53276
triadic
#B232B5 #B5B232 #32B5B2
tetradic
#B232B5 #B57032 #35B532 #3276B5
square
#B232B5 #B57032 #35B532 #3276B5
split-complementary
#B232B5 #76B532 #32B570
monochromatic
#541855 #832585 #B232B5 #CD54D0 #DB84DD

Accessibility & contrast

On white

5.23
#B232B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B232B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B232B5
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B232B5#FFFFFF#000000##FFFFFF
##B232B51.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1362B9
Deuteranopia (green-blind)
#5372B2
Tritanopia (blue-blind)
#B74771
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b232b5;
/* rgb */ color: rgb(178, 50, 181);
/* oklch */ color: oklch(56.1% 0.217 327.0);
Tailwind
colors: {
  custom: {
    50: '#cd77cc',
    500: '#b232b5',
    950: '#000000',
  },
}
SCSS
$custom: #b232b5;
$custom-light: #cd77cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b232b5",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 298.626,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56093,
    "c": 0.2175,
    "h": 327
  },
  "luminance": 0.15082
}

Semantic roles & 50–950 ramp

primary
#B232B5
secondary
#7EC77C
accent
#E0484B
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B232B5

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

Preview Lab → · Contrast checker → · Palette generator →

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