#B234B9#B234B9

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

Color values

HEX#B234B9
RGBrgb(178, 52, 185)
HSLhsl(297, 56%, 46%)
HSVhsv(297, 72%, 73%)
CMYKcmyk(3.8%, 71.9%, 0%, 27.5%)
CIE-LABlab(46.21, 65.90, -44.29)
CIE-LCHlch(46.21, 79.40, 326.10°)
OKLaboklab(56.5% 0.1805 -0.1231)
OKLCHoklch(56.5% 0.218 325.7)
XYZxyz(28.3444, 15.4256, 47.3740)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B234B9 #3BB934
analogous
#7034B9 #B234B9 #B9347E
triadic
#B234B9 #B9B234 #34B9B2
tetradic
#B234B9 #B97034 #3BB934 #347EB9
square
#B234B9 #B97034 #3BB934 #347EB9
split-complementary
#B234B9 #7EB934 #34B970
monochromatic
#561959 #842789 #B234B9 #CA5AD1 #DA89DE

Accessibility & contrast

On white

5.14
#B234B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B234B9
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B234B9#FFFFFF#000000##FFFFFF
##B234B91.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E64BD
Deuteranopia (green-blind)
#5173B6
Tritanopia (blue-blind)
#B64A74
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b234b9;
/* rgb */ color: rgb(178, 52, 185);
/* oklch */ color: oklch(56.5% 0.218 325.7);
Tailwind
colors: {
  custom: {
    50: '#cd78ce',
    500: '#b234b9',
    950: '#000000',
  },
}
SCSS
$custom: #b234b9;
$custom-light: #cd78ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b234b9",
  "rgb": {
    "r": 178,
    "g": 52,
    "b": 185
  },
  "hsl": {
    "h": 296.842,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56496,
    "c": 0.21848,
    "h": 325.7
  },
  "luminance": 0.15424
}

Semantic roles & 50–950 ramp

primary
#B234B9
secondary
#85C881
accent
#DF4850
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B234B9

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

Preview Lab → · Contrast checker → · Palette generator →

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