#B234B4#B234B4

#B234B4 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.2% C 0.215 H 327.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B234B4
RGBrgb(178, 52, 180)
HSLhsl(299, 55%, 45%)
HSVhsv(299, 71%, 71%)
CMYKcmyk(1.1%, 71.1%, 0%, 29.4%)
CIE-LABlab(45.93, 65.06, -41.80)
CIE-LCHlch(45.93, 77.33, 327.28°)
OKLaboklab(56.21% 0.1805 -0.1159)
OKLCHoklch(56.21% 0.215 327.3)
XYZxyz(27.8259, 15.2182, 44.6430)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B234B4 #36B434
analogous
#7234B4 #B234B4 #B43476
triadic
#B234B4 #B4B234 #34B4B2
tetradic
#B234B4 #B47234 #36B434 #3476B4
square
#B234B4 #B47234 #36B434 #3476B4
split-complementary
#B234B4 #76B434 #34B472
monochromatic
#541955 #832685 #B234B4 #CD57CE #DB86DC

Accessibility & contrast

On white

5.19
#B234B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B234B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B234B4
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B234B4#FFFFFF#000000##FFFFFF
##B234B41.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A62B8
Deuteranopia (green-blind)
#5472B1
Tritanopia (blue-blind)
#B74871
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b234b4;
/* rgb */ color: rgb(178, 52, 180);
/* oklch */ color: oklch(56.2% 0.215 327.3);
Tailwind
colors: {
  custom: {
    50: '#cd78cb',
    500: '#b234b4',
    950: '#000000',
  },
}
SCSS
$custom: #b234b4;
$custom-light: #cd78cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b234b4",
  "rgb": {
    "r": 178,
    "g": 52,
    "b": 180
  },
  "hsl": {
    "h": 299.063,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56205,
    "c": 0.21453,
    "h": 327.3
  },
  "luminance": 0.15216
}

Semantic roles & 50–950 ramp

primary
#B234B4
secondary
#7FC67E
accent
#DF494C
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B234B4

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

Preview Lab → · Contrast checker → · Palette generator →

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