#B231B0#B231B0

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

Color values

HEX#B231B0
RGBrgb(178, 49, 176)
HSLhsl(301, 57%, 45%)
HSVhsv(301, 72%, 70%)
CMYKcmyk(0%, 72.5%, 1.1%, 30.2%)
CIE-LABlab(45.36, 65.41, -40.36)
CIE-LCHlch(45.36, 76.86, 328.32°)
OKLaboklab(55.72% 0.1834 -0.1117)
OKLCHoklch(55.72% 0.215 328.7)
XYZxyz(27.2946, 14.7982, 42.4846)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B231B0 #31B233
analogous
#7431B2 #B231B0 #B23170
triadic
#B231B0 #B0B231 #31B0B2
tetradic
#B231B0 #B27431 #31B233 #3170B2
square
#B231B0 #B27431 #31B233 #3170B2
split-complementary
#B231B0 #70B231 #31B274
monochromatic
#521751 #822481 #B231B0 #CF51CD #DC81DB

Accessibility & contrast

On white

5.30
#B231B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B231B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B231B0
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B231B0#FFFFFF#000000##FFFFFF
##B231B01.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B60B3
Deuteranopia (green-blind)
#5571AD
Tritanopia (blue-blind)
#B8446E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b231b0;
/* rgb */ color: rgb(178, 49, 176);
/* oklch */ color: oklch(55.7% 0.215 328.7);
Tailwind
colors: {
  custom: {
    50: '#cd76c8',
    500: '#b231b0',
    950: '#000000',
  },
}
SCSS
$custom: #b231b0;
$custom-light: #cd76c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b231b0",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 300.93,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55722,
    "c": 0.21472,
    "h": 328.7
  },
  "luminance": 0.14796
}

Semantic roles & 50–950 ramp

primary
#B231B0
secondary
#79C57B
accent
#E04A48
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B231B0

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

Preview Lab → · Contrast checker → · Palette generator →

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