#B234BC#B234BC

#B234BC is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.7% C 0.221 H 324.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B234BC
RGBrgb(178, 52, 188)
HSLhsl(296, 57%, 47%)
HSVhsv(296, 72%, 74%)
CMYKcmyk(5.3%, 72.3%, 0%, 26.3%)
CIE-LABlab(46.38, 66.41, -45.77)
CIE-LCHlch(46.38, 80.65, 325.43°)
OKLaboklab(56.67% 0.1804 -0.1274)
OKLCHoklch(56.67% 0.221 324.8)
XYZxyz(28.6645, 15.5536, 49.0596)
Luminance0.1555 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B234BC #3EBC34
analogous
#6E34BC #B234BC #BC3482
triadic
#B234BC #BCB234 #34BCB2
tetradic
#B234BC #BC6E34 #3EBC34 #3482BC
square
#B234BC #BC6E34 #3EBC34 #3482BC
split-complementary
#B234BC #82BC34 #34BC6E
monochromatic
#57195C #85278C #B234BC #C95BD2 #D98BDF

Accessibility & contrast

On white

5.11
#B234BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B234BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B234BC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B234BC#FFFFFF#000000##FFFFFF
##B234BC1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0364C0
Deuteranopia (green-blind)
#4F73B9
Tritanopia (blue-blind)
#B64B75
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b234bc;
/* rgb */ color: rgb(178, 52, 188);
/* oklch */ color: oklch(56.7% 0.221 324.8);
Tailwind
colors: {
  custom: {
    50: '#cd78d1',
    500: '#b234bc',
    950: '#000000',
  },
}
SCSS
$custom: #b234bc;
$custom-light: #cd78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b234bc",
  "rgb": {
    "r": 178,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 295.588,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56674,
    "c": 0.22088,
    "h": 324.8
  },
  "luminance": 0.15552
}

Semantic roles & 50–950 ramp

primary
#B234BC
secondary
#88C983
accent
#E04853
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B234BC

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

Preview Lab → · Contrast checker → · Palette generator →

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