#B239A1#B239A1

#B239A1 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.6% C 0.194 H 334.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B239A1
RGBrgb(178, 57, 161)
HSLhsl(308, 51%, 46%)
HSVhsv(308, 68%, 70%)
CMYKcmyk(0%, 68%, 9.6%, 30.2%)
CIE-LABlab(45.59, 60.17, -31.10)
CIE-LCHlch(45.59, 67.73, 332.67°)
OKLaboklab(55.64% 0.1743 -0.085)
OKLCHoklch(55.64% 0.194 334)
XYZxyz(26.2564, 14.9666, 35.2173)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B239A1 #39B24A
analogous
#8639B2 #B239A1 #B23964
triadic
#B239A1 #A1B239 #39A1B2
tetradic
#B239A1 #B28639 #39B24A #3964B2
square
#B239A1 #B28639 #39B24A #3964B2
split-complementary
#B239A1 #64B239 #39B286
monochromatic
#551B4D #842A77 #B239A1 #CB5DBC #DA8BCF

Accessibility & contrast

On white

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

On black

3.99
#B239A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B239A1#FFFFFF#000000##FFFFFF
##B239A11.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3761A4
Deuteranopia (green-blind)
#60729E
Tritanopia (blue-blind)
#BA4368
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b239a1;
/* rgb */ color: rgb(178, 57, 161);
/* oklch */ color: oklch(55.6% 0.194 334.0);
Tailwind
colors: {
  custom: {
    50: '#cc79bd',
    500: '#b239a1',
    950: '#000000',
  },
}
SCSS
$custom: #b239a1;
$custom-light: #cc79bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b239a1",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 161
  },
  "hsl": {
    "h": 308.43,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55639,
    "c": 0.19397,
    "h": 334
  },
  "luminance": 0.14964
}

Semantic roles & 50–950 ramp

primary
#B239A1
secondary
#82C48C
accent
#DB614D
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B239A1

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

Preview Lab → · Contrast checker → · Palette generator →

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