#B234BE#B234BE

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

Color values

HEX#B234BE
RGBrgb(178, 52, 190)
HSLhsl(295, 57%, 47%)
HSVhsv(295, 73%, 75%)
CMYKcmyk(6.3%, 72.6%, 0%, 25.5%)
CIE-LABlab(46.50, 66.75, -46.75)
CIE-LCHlch(46.50, 81.50, 324.99°)
OKLaboklab(56.79% 0.1803 -0.1303)
OKLCHoklch(56.79% 0.222 324.2)
XYZxyz(28.8816, 15.6405, 50.2029)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B234BE #40BE34
analogous
#6D34BE #B234BE #BE3485
triadic
#B234BE #BEB234 #34BEB2
tetradic
#B234BE #BE6D34 #40BE34 #3485BE
square
#B234BE #BE6D34 #40BE34 #3485BE
split-complementary
#B234BE #85BE34 #34BE6D
monochromatic
#581A5E #85278E #B234BE #C85DD3 #D88DE0

Accessibility & contrast

On white

5.09
#B234BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B234BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B234BE
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B234BE#FFFFFF#000000##FFFFFF
##B234BE1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#4E73BB
Tritanopia (blue-blind)
#B54C76
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b234be;
/* rgb */ color: rgb(178, 52, 190);
/* oklch */ color: oklch(56.8% 0.222 324.2);
Tailwind
colors: {
  custom: {
    50: '#cd78d2',
    500: '#b234be',
    950: '#000000',
  },
}
SCSS
$custom: #b234be;
$custom-light: #cd78d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b234be",
  "rgb": {
    "r": 178,
    "g": 52,
    "b": 190
  },
  "hsl": {
    "h": 294.783,
    "s": 57.025,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56794,
    "c": 0.22249,
    "h": 324.2
  },
  "luminance": 0.15639
}

Semantic roles & 50–950 ramp

primary
#B234BE
secondary
#8ACA84
accent
#E04855
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B234BE

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

Preview Lab → · Contrast checker → · Palette generator →

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