#B234BD#B234BD

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

Color values

HEX#B234BD
RGBrgb(178, 52, 189)
HSLhsl(295, 57%, 47%)
HSVhsv(295, 72%, 74%)
CMYKcmyk(5.8%, 72.5%, 0%, 25.9%)
CIE-LABlab(46.44, 66.58, -46.26)
CIE-LCHlch(46.44, 81.08, 325.21°)
OKLaboklab(56.73% 0.1804 -0.1289)
OKLCHoklch(56.73% 0.222 324.5)
XYZxyz(28.7726, 15.5969, 49.6293)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B234BD #3FBD34
analogous
#6D34BD #B234BD #BD3484
triadic
#B234BD #BDB234 #34BDB2
tetradic
#B234BD #BD6D34 #3FBD34 #3484BD
square
#B234BD #BD6D34 #3FBD34 #3484BD
split-complementary
#B234BD #84BD34 #34BD6D
monochromatic
#581A5D #85278D #B234BD #C95CD2 #D98CDF

Accessibility & contrast

On white

5.10
#B234BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B234BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B234BD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B234BD#FFFFFF#000000##FFFFFF
##B234BD1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#4E73BA
Tritanopia (blue-blind)
#B64C76
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b234bd;
/* rgb */ color: rgb(178, 52, 189);
/* oklch */ color: oklch(56.7% 0.222 324.5);
Tailwind
colors: {
  custom: {
    50: '#cd78d1',
    500: '#b234bd',
    950: '#000000',
  },
}
SCSS
$custom: #b234bd;
$custom-light: #cd78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b234bd",
  "rgb": {
    "r": 178,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 295.182,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56734,
    "c": 0.22169,
    "h": 324.5
  },
  "luminance": 0.15595
}

Semantic roles & 50–950 ramp

primary
#B234BD
secondary
#89CA83
accent
#E04854
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B234BD

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

Preview Lab → · Contrast checker → · Palette generator →

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