#B234AE#B234AE

#B234AE is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.210 H 329.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B234AE
RGBrgb(178, 52, 174)
HSLhsl(302, 55%, 45%)
HSVhsv(302, 71%, 70%)
CMYKcmyk(0%, 70.8%, 2.2%, 30.2%)
CIE-LABlab(45.61, 64.07, -38.78)
CIE-LCHlch(45.61, 74.89, 328.81°)
OKLaboklab(55.87% 0.1805 -0.1071)
OKLCHoklch(55.87% 0.21 329.3)
XYZxyz(27.2279, 14.9790, 41.4934)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B234AE #34B238
analogous
#7734B2 #B234AE #B2346F
triadic
#B234AE #AEB234 #34AEB2
tetradic
#B234AE #B27734 #34B238 #346FB2
square
#B234AE #B27734 #34B238 #346FB2
split-complementary
#B234AE #6FB234 #34B277
monochromatic
#531851 #832680 #B234AE #CE56CA #DB85D9

Accessibility & contrast

On white

5.26
#B234AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B234AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B234AE
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B234AE#FFFFFF#000000##FFFFFF
##B234AE1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2461B1
Deuteranopia (green-blind)
#5872AB
Tritanopia (blue-blind)
#B8456E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b234ae;
/* rgb */ color: rgb(178, 52, 174);
/* oklch */ color: oklch(55.9% 0.210 329.3);
Tailwind
colors: {
  custom: {
    50: '#cd77c6',
    500: '#b234ae',
    950: '#000000',
  },
}
SCSS
$custom: #b234ae;
$custom-light: #cd77c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b234ae",
  "rgb": {
    "r": 178,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 301.905,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55866,
    "c": 0.20986,
    "h": 329.3
  },
  "luminance": 0.14977
}

Semantic roles & 50–950 ramp

primary
#B234AE
secondary
#7DC57F
accent
#DE4E4A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B234AE

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

Preview Lab → · Contrast checker → · Palette generator →

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