#B231BE#B231BE

#B231BE is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.5% C 0.226 H 324.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B231BE
RGBrgb(178, 49, 190)
HSLhsl(295, 59%, 47%)
HSVhsv(295, 74%, 75%)
CMYKcmyk(6.3%, 74.2%, 0%, 25.5%)
CIE-LABlab(46.15, 67.75, -47.31)
CIE-LCHlch(46.15, 82.63, 325.07°)
OKLaboklab(56.55% 0.1831 -0.1319)
OKLCHoklch(56.55% 0.226 324.2)
XYZxyz(28.7519, 15.3811, 50.1597)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B231BE #3DBE31
analogous
#6C31BE #B231BE #BE3183
triadic
#B231BE #BEB231 #31BEB2
tetradic
#B231BE #BE6C31 #3DBE31 #3183BE
square
#B231BE #BE6C31 #3DBE31 #3183BE
split-complementary
#B231BE #83BE31 #31BE6C
monochromatic
#57185D #84248D #B231BE #C958D4 #D989E1

Accessibility & contrast

On white

5.15
#B231BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B231BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B231BE
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B231BE#FFFFFF#000000##FFFFFF
##B231BE1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#4C72BB
Tritanopia (blue-blind)
#B54B76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b231be;
/* rgb */ color: rgb(178, 49, 190);
/* oklch */ color: oklch(56.5% 0.226 324.2);
Tailwind
colors: {
  custom: {
    50: '#cd77d2',
    500: '#b231be',
    950: '#000000',
  },
}
SCSS
$custom: #b231be;
$custom-light: #cd77d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b231be",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 294.894,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56546,
    "c": 0.22564,
    "h": 324.2
  },
  "luminance": 0.15379
}

Semantic roles & 50–950 ramp

primary
#B231BE
secondary
#87CA80
accent
#E24653
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B231BE

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

Preview Lab → · Contrast checker → · Palette generator →

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