#B239A4#B239A4

#B239A4 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.8% C 0.196 H 332.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B239A4
RGBrgb(178, 57, 164)
HSLhsl(307, 51%, 46%)
HSVhsv(307, 68%, 70%)
CMYKcmyk(0%, 68%, 7.9%, 30.2%)
CIE-LABlab(45.73, 60.64, -32.66)
CIE-LCHlch(45.73, 68.88, 331.70°)
OKLaboklab(55.79% 0.1746 -0.0895)
OKLCHoklch(55.79% 0.196 332.9)
XYZxyz(26.5242, 15.0737, 36.6273)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B239A4 #39B247
analogous
#8339B2 #B239A4 #B23967
triadic
#B239A4 #A4B239 #39A4B2
tetradic
#B239A4 #B28339 #39B247 #3967B2
square
#B239A4 #B28339 #39B247 #3967B2
split-complementary
#B239A4 #67B239 #39B283
monochromatic
#551B4F #842A79 #B239A4 #CB5DBE #DA8BD1

Accessibility & contrast

On white

5.23
#B239A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B239A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B239A4
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B239A4#FFFFFF#000000##FFFFFF
##B239A41.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3461A7
Deuteranopia (green-blind)
#5F72A1
Tritanopia (blue-blind)
#BA446A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b239a4;
/* rgb */ color: rgb(178, 57, 164);
/* oklch */ color: oklch(55.8% 0.196 332.9);
Tailwind
colors: {
  custom: {
    50: '#cc79bf',
    500: '#b239a4',
    950: '#000000',
  },
}
SCSS
$custom: #b239a4;
$custom-light: #cc79bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b239a4",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 164
  },
  "hsl": {
    "h": 306.942,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55792,
    "c": 0.19622,
    "h": 332.9
  },
  "luminance": 0.15072
}

Semantic roles & 50–950 ramp

primary
#B239A4
secondary
#82C48A
accent
#DB5D4D
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B239A4

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

Preview Lab → · Contrast checker → · Palette generator →

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