#B232A5#B232A5

#B232A5 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.2% C 0.205 H 332.5°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B232A5
RGBrgb(178, 50, 165)
HSLhsl(306, 56%, 45%)
HSVhsv(306, 72%, 70%)
CMYKcmyk(0%, 71.9%, 7.3%, 30.2%)
CIE-LABlab(44.89, 63.32, -34.57)
CIE-LCHlch(44.89, 72.14, 331.36°)
OKLaboklab(55.2% 0.1821 -0.095)
OKLCHoklch(55.2% 0.205 332.5)
XYZxyz(26.2923, 14.4649, 36.9973)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B232A5 #32B23F
analogous
#7F32B2 #B232A5 #B23265
triadic
#B232A5 #A5B232 #32A5B2
tetradic
#B232A5 #B27F32 #32B23F #3265B2
square
#B232A5 #B27F32 #32B23F #3265B2
split-complementary
#B232A5 #65B232 #32B27F
monochromatic
#52174C #822579 #B232A5 #CF53C2 #DC82D3

Accessibility & contrast

On white

5.39
#B232A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B232A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B232A5
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B232A5#FFFFFF#000000##FFFFFF
##B232A51.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5FA8
Deuteranopia (green-blind)
#5B71A2
Tritanopia (blue-blind)
#BA3F68
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b232a5;
/* rgb */ color: rgb(178, 50, 165);
/* oklch */ color: oklch(55.2% 0.205 332.5);
Tailwind
colors: {
  custom: {
    50: '#cd76c0',
    500: '#b232a5',
    950: '#000000',
  },
}
SCSS
$custom: #b232a5;
$custom-light: #cd76c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b232a5",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 165
  },
  "hsl": {
    "h": 306.094,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55201,
    "c": 0.20532,
    "h": 332.5
  },
  "luminance": 0.14463
}

Semantic roles & 50–950 ramp

primary
#B232A5
secondary
#7BC582
accent
#DF5848
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B232A5

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

Preview Lab → · Contrast checker → · Palette generator →

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