#B239A9#B239A9

#B239A9 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.1% C 0.200 H 331.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B239A9
RGBrgb(178, 57, 169)
HSLhsl(304, 51%, 46%)
HSVhsv(304, 68%, 70%)
CMYKcmyk(0%, 68%, 5.1%, 30.2%)
CIE-LABlab(45.99, 61.44, -35.23)
CIE-LCHlch(45.99, 70.83, 330.17°)
OKLaboklab(56.06% 0.175 -0.0969)
OKLCHoklch(56.06% 0.2 331)
XYZxyz(26.9846, 15.2579, 39.0522)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B239A9 #39B242
analogous
#7E39B2 #B239A9 #B2396C
triadic
#B239A9 #A9B239 #39A9B2
tetradic
#B239A9 #B27E39 #39B242 #396CB2
square
#B239A9 #B27E39 #39B242 #396CB2
split-complementary
#B239A9 #6CB239 #39B27E
monochromatic
#551B51 #842A7D #B239A9 #CB5DC3 #DA8BD4

Accessibility & contrast

On white

5.18
#B239A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B239A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B239A9
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B239A9#FFFFFF#000000##FFFFFF
##B239A91.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3062AC
Deuteranopia (green-blind)
#5D73A6
Tritanopia (blue-blind)
#B9466C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b239a9;
/* rgb */ color: rgb(178, 57, 169);
/* oklch */ color: oklch(56.1% 0.200 331.0);
Tailwind
colors: {
  custom: {
    50: '#cc7ac3',
    500: '#b239a9',
    950: '#000000',
  },
}
SCSS
$custom: #b239a9;
$custom-light: #cc7ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#b239a9",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 169
  },
  "hsl": {
    "h": 304.463,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56055,
    "c": 0.20006,
    "h": 331
  },
  "luminance": 0.15256
}

Semantic roles & 50–950 ramp

primary
#B239A9
secondary
#82C487
accent
#DB574D
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B239A9

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

Preview Lab → · Contrast checker → · Palette generator →

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