#B232B3#B232B3

#B232B3 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.216 H 327.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B232B3
RGBrgb(178, 50, 179)
HSLhsl(300, 56%, 45%)
HSVhsv(300, 72%, 70%)
CMYKcmyk(0.6%, 72.1%, 0%, 29.8%)
CIE-LABlab(45.64, 65.57, -41.68)
CIE-LCHlch(45.64, 77.69, 327.56°)
OKLaboklab(55.98% 0.1825 -0.1155)
OKLCHoklch(55.98% 0.216 327.7)
XYZxyz(27.6370, 15.0028, 44.0793)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B232B3 #33B332
analogous
#7232B3 #B232B3 #B33273
triadic
#B232B3 #B3B232 #32B3B2
tetradic
#B232B3 #B37232 #33B332 #3273B3
square
#B232B3 #B37232 #33B332 #3273B3
split-complementary
#B232B3 #73B332 #32B372
monochromatic
#531753 #822583 #B232B3 #CE53CF #DC83DC

Accessibility & contrast

On white

5.25
#B232B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B232B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B232B3
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B232B3#FFFFFF#000000##FFFFFF
##B232B31.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1861B7
Deuteranopia (green-blind)
#5472B0
Tritanopia (blue-blind)
#B74670
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b232b3;
/* rgb */ color: rgb(178, 50, 179);
/* oklch */ color: oklch(56.0% 0.216 327.7);
Tailwind
colors: {
  custom: {
    50: '#cd77ca',
    500: '#b232b3',
    950: '#000000',
  },
}
SCSS
$custom: #b232b3;
$custom-light: #cd77ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b232b3",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 299.535,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55977,
    "c": 0.21595,
    "h": 327.7
  },
  "luminance": 0.15001
}

Semantic roles & 50–950 ramp

primary
#B232B3
secondary
#7CC67B
accent
#E04849
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B232B3

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

Preview Lab → · Contrast checker → · Palette generator →

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