#B239AC#B239AC

#B239AC is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.2% C 0.202 H 330.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B239AC
RGBrgb(178, 57, 172)
HSLhsl(303, 51%, 46%)
HSVhsv(303, 68%, 70%)
CMYKcmyk(0%, 68%, 3.4%, 30.2%)
CIE-LABlab(46.14, 61.93, -36.76)
CIE-LCHlch(46.14, 72.02, 329.31°)
OKLaboklab(56.22% 0.1752 -0.1013)
OKLCHoklch(56.22% 0.202 330)
XYZxyz(27.2695, 15.3718, 40.5525)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B239AC #39B23F
analogous
#7B39B2 #B239AC #B2396F
triadic
#B239AC #ACB239 #39ACB2
tetradic
#B239AC #B27B39 #39B23F #396FB2
square
#B239AC #B27B39 #39B23F #396FB2
split-complementary
#B239AC #6FB239 #39B27B
monochromatic
#551B52 #842A7F #B239AC #CB5DC6 #DA8BD6

Accessibility & contrast

On white

5.15
#B239AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#B239AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B239AC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B239AC#FFFFFF#000000##FFFFFF
##B239AC1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D63AF
Deuteranopia (green-blind)
#5B73A9
Tritanopia (blue-blind)
#B8486E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b239ac;
/* rgb */ color: rgb(178, 57, 172);
/* oklch */ color: oklch(56.2% 0.202 330.0);
Tailwind
colors: {
  custom: {
    50: '#cc7ac5',
    500: '#b239ac',
    950: '#000000',
  },
}
SCSS
$custom: #b239ac;
$custom-light: #cc7ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#b239ac",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 302.975,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56216,
    "c": 0.20239,
    "h": 330
  },
  "luminance": 0.1537
}

Semantic roles & 50–950 ramp

primary
#B239AC
secondary
#82C486
accent
#DB544D
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B239AC

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

Preview Lab → · Contrast checker → · Palette generator →

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