#B23BDA#B23BDA

#B23BDA is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.2% C 0.238 H 316.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B23BDA
RGBrgb(178, 59, 218)
HSLhsl(285, 68%, 54%)
HSVhsv(285, 73%, 85%)
CMYKcmyk(18.3%, 72.9%, 0%, 14.5%)
CIE-LABlab(49.08, 69.41, -58.76)
CIE-LCHlch(49.08, 90.94, 319.75°)
OKLaboklab(59.18% 0.1716 -0.1655)
OKLCHoklch(59.18% 0.238 316)
XYZxyz(32.5770, 17.6561, 68.0080)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23BDA #63DA3B
analogous
#633BDA #B23BDA #DA3BB2
triadic
#B23BDA #DAB23B #3BDAB2
tetradic
#B23BDA #DA633B #63DA3B #3BB2DA
square
#B23BDA #DA633B #63DA3B #3BB2DA
split-complementary
#B23BDA #B2DA3B #3BDA63
monochromatic
#681982 #9022B6 #B23BDA #C66EE4 #DAA2ED

Accessibility & contrast

On white

4.63
#B23BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#B23BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B23BDA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23BDA#FFFFFF#000000##FFFFFF
##B23BDA1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#3978D6
Tritanopia (blue-blind)
#AF5D88
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b23bda;
/* rgb */ color: rgb(178, 59, 218);
/* oklch */ color: oklch(59.2% 0.238 316.0);
Tailwind
colors: {
  custom: {
    50: '#cd7ce6',
    500: '#b23bda',
    950: '#000000',
  },
}
SCSS
$custom: #b23bda;
$custom-light: #cd7ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#b23bda",
  "rgb": {
    "r": 178,
    "g": 59,
    "b": 218
  },
  "hsl": {
    "h": 284.906,
    "s": 68.24,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59177,
    "c": 0.23839,
    "h": 316
  },
  "luminance": 0.17655
}

Semantic roles & 50–950 ramp

primary
#B23BDA
secondary
#A8DA97
accent
#EB3D69
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B23BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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