#B239A0#B239A0

#B239A0 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.6% C 0.193 H 334.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B239A0
RGBrgb(178, 57, 160)
HSLhsl(309, 51%, 46%)
HSVhsv(309, 68%, 70%)
CMYKcmyk(0%, 68%, 10.1%, 30.2%)
CIE-LABlab(45.54, 60.02, -30.58)
CIE-LCHlch(45.54, 67.36, 333.00°)
OKLaboklab(55.59% 0.1742 -0.0835)
OKLCHoklch(55.59% 0.193 334.4)
XYZxyz(26.1686, 14.9315, 34.7547)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B239A0 #39B24B
analogous
#8739B2 #B239A0 #B23963
triadic
#B239A0 #A0B239 #39A0B2
tetradic
#B239A0 #B28739 #39B24B #3963B2
square
#B239A0 #B28739 #39B24B #3963B2
split-complementary
#B239A0 #63B239 #39B287
monochromatic
#551B4D #842A76 #B239A0 #CB5DBB #DA8BCE

Accessibility & contrast

On white

5.27
#B239A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B239A0
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B239A0#FFFFFF#000000##FFFFFF
##B239A01.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3760A3
Deuteranopia (green-blind)
#61729D
Tritanopia (blue-blind)
#BA4268
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b239a0;
/* rgb */ color: rgb(178, 57, 160);
/* oklch */ color: oklch(55.6% 0.193 334.4);
Tailwind
colors: {
  custom: {
    50: '#cc79bc',
    500: '#b239a0',
    950: '#000000',
  },
}
SCSS
$custom: #b239a0;
$custom-light: #cc79bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b239a0",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 160
  },
  "hsl": {
    "h": 308.926,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55588,
    "c": 0.19322,
    "h": 334.4
  },
  "luminance": 0.14929
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B239A0

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

Preview Lab → · Contrast checker → · Palette generator →

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