#B234BF#B234BF

#B234BF is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.9% C 0.223 H 323.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B234BF
RGBrgb(178, 52, 191)
HSLhsl(294, 57%, 48%)
HSVhsv(294, 73%, 75%)
CMYKcmyk(6.8%, 72.8%, 0%, 25.1%)
CIE-LABlab(46.56, 66.93, -47.24)
CIE-LCHlch(46.56, 81.92, 324.78°)
OKLaboklab(56.85% 0.1803 -0.1317)
OKLCHoklch(56.85% 0.223 323.8)
XYZxyz(28.9912, 15.6843, 50.7805)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B234BF #41BF34
analogous
#6C34BF #B234BF #BF3487
triadic
#B234BF #BFB234 #34BFB2
tetradic
#B234BF #BF6C34 #41BF34 #3487BF
square
#B234BF #BF6C34 #41BF34 #3487BF
split-complementary
#B234BF #87BF34 #34BF6C
monochromatic
#581A5F #85278F #B234BF #C85DD3 #D88DE0

Accessibility & contrast

On white

5.08
#B234BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B234BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B234BF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B234BF#FFFFFF#000000##FFFFFF
##B234BF1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#4D73BC
Tritanopia (blue-blind)
#B54D77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b234bf;
/* rgb */ color: rgb(178, 52, 191);
/* oklch */ color: oklch(56.9% 0.223 323.8);
Tailwind
colors: {
  custom: {
    50: '#cd78d3',
    500: '#b234bf',
    950: '#000000',
  },
}
SCSS
$custom: #b234bf;
$custom-light: #cd78d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b234bf",
  "rgb": {
    "r": 178,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 294.388,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56854,
    "c": 0.2233,
    "h": 323.8
  },
  "luminance": 0.15683
}

Semantic roles & 50–950 ramp

primary
#B234BF
secondary
#8BCA84
accent
#E04756
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B234BF

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

Preview Lab → · Contrast checker → · Palette generator →

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