#B232AF#B232AF

#B232AF is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.7% C 0.213 H 329.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B232AF
RGBrgb(178, 50, 175)
HSLhsl(301, 56%, 45%)
HSVhsv(301, 72%, 70%)
CMYKcmyk(0%, 71.9%, 1.7%, 30.2%)
CIE-LABlab(45.42, 64.91, -39.67)
CIE-LCHlch(45.42, 76.07, 328.57°)
OKLaboklab(55.75% 0.1824 -0.1097)
OKLCHoklch(55.75% 0.213 329)
XYZxyz(27.2383, 14.8433, 41.9796)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B232AF #32B235
analogous
#7532B2 #B232AF #B2326F
triadic
#B232AF #AFB232 #32AFB2
tetradic
#B232AF #B27532 #32B235 #326FB2
square
#B232AF #B27532 #32B235 #326FB2
split-complementary
#B232AF #6FB232 #32B275
monochromatic
#521751 #822580 #B232AF #CF53CC #DC82DA

Accessibility & contrast

On white

5.29
#B232AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B232AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B232AF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B232AF#FFFFFF#000000##FFFFFF
##B232AF1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F61B2
Deuteranopia (green-blind)
#5671AC
Tritanopia (blue-blind)
#B8446E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b232af;
/* rgb */ color: rgb(178, 50, 175);
/* oklch */ color: oklch(55.7% 0.213 329.0);
Tailwind
colors: {
  custom: {
    50: '#cd77c7',
    500: '#b232af',
    950: '#000000',
  },
}
SCSS
$custom: #b232af;
$custom-light: #cd77c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b232af",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 301.406,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55749,
    "c": 0.21286,
    "h": 329
  },
  "luminance": 0.14841
}

Semantic roles & 50–950 ramp

primary
#B232AF
secondary
#7BC57C
accent
#DF4C48
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B232AF

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

Preview Lab → · Contrast checker → · Palette generator →

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