#B234AA#B234AA

#B234AA is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.6% C 0.207 H 330.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B234AA
RGBrgb(178, 52, 170)
HSLhsl(304, 55%, 45%)
HSVhsv(304, 71%, 70%)
CMYKcmyk(0%, 70.8%, 4.5%, 30.2%)
CIE-LABlab(45.39, 63.42, -36.75)
CIE-LCHlch(45.39, 73.30, 329.91°)
OKLaboklab(55.65% 0.1803 -0.1013)
OKLCHoklch(55.65% 0.207 330.7)
XYZxyz(26.8437, 14.8253, 39.4702)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B234AA #34B23C
analogous
#7B34B2 #B234AA #B2346B
triadic
#B234AA #AAB234 #34AAB2
tetradic
#B234AA #B27B34 #34B23C #346BB2
square
#B234AA #B27B34 #34B23C #346BB2
split-complementary
#B234AA #6BB234 #34B27B
monochromatic
#531850 #83267D #B234AA #CE56C6 #DB85D6

Accessibility & contrast

On white

5.30
#B234AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B234AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B234AA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B234AA#FFFFFF#000000##FFFFFF
##B234AA1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2860AD
Deuteranopia (green-blind)
#5A72A7
Tritanopia (blue-blind)
#B9436B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b234aa;
/* rgb */ color: rgb(178, 52, 170);
/* oklch */ color: oklch(55.6% 0.207 330.7);
Tailwind
colors: {
  custom: {
    50: '#cd77c4',
    500: '#b234aa',
    950: '#000000',
  },
}
SCSS
$custom: #b234aa;
$custom-light: #cd77c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b234aa",
  "rgb": {
    "r": 178,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 303.81,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55645,
    "c": 0.20679,
    "h": 330.7
  },
  "luminance": 0.14823
}

Semantic roles & 50–950 ramp

primary
#B234AA
secondary
#7DC581
accent
#DE534A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B234AA

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

Preview Lab → · Contrast checker → · Palette generator →

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