#B23BBD#B23BBD

#B23BBD is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.4% C 0.214 H 324.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B23BBD
RGBrgb(178, 59, 189)
HSLhsl(295, 52%, 49%)
HSVhsv(295, 69%, 74%)
CMYKcmyk(5.8%, 68.8%, 0%, 25.9%)
CIE-LABlab(47.33, 64.07, -44.85)
CIE-LCHlch(47.33, 78.21, 325.01°)
OKLaboklab(57.37% 0.1735 -0.1248)
OKLCHoklch(57.37% 0.214 324.3)
XYZxyz(29.1086, 16.2688, 49.7412)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23BBD #46BD3B
analogous
#713BBD #B23BBD #BD3B87
triadic
#B23BBD #BDB23B #3BBDB2
tetradic
#B23BBD #BD713B #46BD3B #3B87BD
square
#B23BBD #BD713B #46BD3B #3B87BD
split-complementary
#B23BBD #87BD3B #3BBD71
monochromatic
#5A1E60 #862C8E #B23BBD #C666CF #D895DE

Accessibility & contrast

On white

4.94
#B23BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#B23BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23BBD
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23BBD#FFFFFF#000000##FFFFFF
##B23BBD1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1967C1
Deuteranopia (green-blind)
#5275BA
Tritanopia (blue-blind)
#B55078
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b23bbd;
/* rgb */ color: rgb(178, 59, 189);
/* oklch */ color: oklch(57.4% 0.214 324.3);
Tailwind
colors: {
  custom: {
    50: '#cd7bd1',
    500: '#b23bbd',
    950: '#000000',
  },
}
SCSS
$custom: #b23bbd;
$custom-light: #cd7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#b23bbd",
  "rgb": {
    "r": 178,
    "g": 59,
    "b": 189
  },
  "hsl": {
    "h": 294.923,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57367,
    "c": 0.2137,
    "h": 324.3
  },
  "luminance": 0.16267
}

Semantic roles & 50–950 ramp

primary
#B23BBD
secondary
#90C98B
accent
#DC4C58
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B23BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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