#B231AE#B231AE

#B231AE is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.6% C 0.213 H 329.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B231AE
RGBrgb(178, 49, 174)
HSLhsl(302, 57%, 45%)
HSVhsv(302, 72%, 70%)
CMYKcmyk(0%, 72.5%, 2.2%, 30.2%)
CIE-LABlab(45.25, 65.08, -39.35)
CIE-LCHlch(45.25, 76.05, 328.84°)
OKLaboklab(55.61% 0.1834 -0.1087)
OKLCHoklch(55.61% 0.213 329.3)
XYZxyz(27.0982, 14.7196, 41.4501)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B231AE #31B235
analogous
#7531B2 #B231AE #B2316E
triadic
#B231AE #AEB231 #31AEB2
tetradic
#B231AE #B27531 #31B235 #316EB2
square
#B231AE #B27531 #31B235 #316EB2
split-complementary
#B231AE #6EB231 #31B275
monochromatic
#521750 #82247F #B231AE #CF51CB #DC81DA

Accessibility & contrast

On white

5.33
#B231AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B231AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B231AE
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B231AE#FFFFFF#000000##FFFFFF
##B231AE1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F60B1
Deuteranopia (green-blind)
#5671AB
Tritanopia (blue-blind)
#B8436D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b231ae;
/* rgb */ color: rgb(178, 49, 174);
/* oklch */ color: oklch(55.6% 0.213 329.3);
Tailwind
colors: {
  custom: {
    50: '#cd76c6',
    500: '#b231ae',
    950: '#000000',
  },
}
SCSS
$custom: #b231ae;
$custom-light: #cd76c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b231ae",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 301.86,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55609,
    "c": 0.21318,
    "h": 329.3
  },
  "luminance": 0.14718
}

Semantic roles & 50–950 ramp

primary
#B231AE
secondary
#79C57C
accent
#E04C48
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B231AE

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

Preview Lab → · Contrast checker → · Palette generator →

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