#B232B2#B232B2

#B232B2 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.215 H 328.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B232B2
RGBrgb(178, 50, 178)
HSLhsl(300, 56%, 45%)
HSVhsv(300, 72%, 70%)
CMYKcmyk(0%, 71.9%, 0%, 30.2%)
CIE-LABlab(45.58, 65.40, -41.18)
CIE-LCHlch(45.58, 77.29, 327.80°)
OKLaboklab(55.92% 0.1825 -0.1141)
OKLCHoklch(55.92% 0.215 328)
XYZxyz(27.5362, 14.9625, 43.5486)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B232B2 #32B232
analogous
#7232B2 #B232B2 #B23272
triadic
#B232B2 #B2B232 #32B2B2
tetradic
#B232B2 #B27232 #32B232 #3272B2
square
#B232B2 #B27232 #32B232 #3272B2
split-complementary
#B232B2 #72B232 #32B272
monochromatic
#521752 #822582 #B232B2 #CF53CF #DC82DC

Accessibility & contrast

On white

5.26
#B232B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B232B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B232B2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B232B2#FFFFFF#000000##FFFFFF
##B232B21.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A61B6
Deuteranopia (green-blind)
#5472AF
Tritanopia (blue-blind)
#B8466F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b232b2;
/* rgb */ color: rgb(178, 50, 178);
/* oklch */ color: oklch(55.9% 0.215 328.0);
Tailwind
colors: {
  custom: {
    50: '#cd77c9',
    500: '#b232b2',
    950: '#000000',
  },
}
SCSS
$custom: #b232b2;
$custom-light: #cd77c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b232b2",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 300,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5592,
    "c": 0.21517,
    "h": 328
  },
  "luminance": 0.14961
}

Semantic roles & 50–950 ramp

primary
#B232B2
secondary
#7BC57B
accent
#DF4848
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B232B2

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

Preview Lab → · Contrast checker → · Palette generator →

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