#B23DBA#B23DBA

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

Color values

HEX#B23DBA
RGBrgb(178, 61, 186)
HSLhsl(296, 51%, 48%)
HSVhsv(296, 67%, 73%)
CMYKcmyk(4.3%, 67.2%, 0%, 27.1%)
CIE-LABlab(47.43, 62.78, -42.94)
CIE-LCHlch(47.43, 76.06, 325.63°)
OKLaboklab(57.39% 0.1714 -0.1192)
OKLCHoklch(57.39% 0.209 325.2)
XYZxyz(28.8911, 16.3494, 48.0789)
Luminance0.1635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23DBA #45BA3D
analogous
#733DBA #B23DBA #BA3D83
triadic
#B23DBA #BAB23D #3DBAB2
tetradic
#B23DBA #BA733D #45BA3D #3D83BA
square
#B23DBA #BA733D #45BA3D #3D83BA
split-complementary
#B23DBA #83BA3D #3DBA73
monochromatic
#5A1F5E #862E8C #B23DBA #C767CD #D895DC

Accessibility & contrast

On white

4.92
#B23DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B23DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23DBA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23DBA#FFFFFF#000000##FFFFFF
##B23DBA1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2267BE
Deuteranopia (green-blind)
#5575B7
Tritanopia (blue-blind)
#B65077
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b23dba;
/* rgb */ color: rgb(178, 61, 186);
/* oklch */ color: oklch(57.4% 0.209 325.2);
Tailwind
colors: {
  custom: {
    50: '#cc7ccf',
    500: '#b23dba',
    950: '#000000',
  },
}
SCSS
$custom: #b23dba;
$custom-light: #cc7ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#b23dba",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 186
  },
  "hsl": {
    "h": 296.16,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57388,
    "c": 0.20876,
    "h": 325.2
  },
  "luminance": 0.16348
}

Semantic roles & 50–950 ramp

primary
#B23DBA
secondary
#8FC88B
accent
#DA4E57
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B23DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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