#B231AD#B231AD

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

Color values

HEX#B231AD
RGBrgb(178, 49, 173)
HSLhsl(302, 57%, 45%)
HSVhsv(302, 72%, 70%)
CMYKcmyk(0%, 72.5%, 2.8%, 30.2%)
CIE-LABlab(45.19, 64.92, -38.84)
CIE-LCHlch(45.19, 75.66, 329.11°)
OKLaboklab(55.55% 0.1833 -0.1073)
OKLCHoklch(55.55% 0.212 329.7)
XYZxyz(27.0011, 14.6808, 40.9386)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B231AD #31B236
analogous
#7731B2 #B231AD #B2316C
triadic
#B231AD #ADB231 #31ADB2
tetradic
#B231AD #B27731 #31B236 #316CB2
square
#B231AD #B27731 #31B236 #316CB2
split-complementary
#B231AD #6CB231 #31B277
monochromatic
#521750 #82247E #B231AD #CF51CA #DC81D9

Accessibility & contrast

On white

5.34
#B231AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B231AD
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B231AD#FFFFFF#000000##FFFFFF
##B231AD1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2060B0
Deuteranopia (green-blind)
#5771AA
Tritanopia (blue-blind)
#B8436C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b231ad;
/* rgb */ color: rgb(178, 49, 173);
/* oklch */ color: oklch(55.6% 0.212 329.7);
Tailwind
colors: {
  custom: {
    50: '#cd76c6',
    500: '#b231ad',
    950: '#000000',
  },
}
SCSS
$custom: #b231ad;
$custom-light: #cd76c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b231ad",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 302.326,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55553,
    "c": 0.21242,
    "h": 329.7
  },
  "luminance": 0.14679
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B231AD

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

Preview Lab → · Contrast checker → · Palette generator →

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