#B239BC#B239BC

#B239BC is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.1% C 0.215 H 324.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B239BC
RGBrgb(178, 57, 188)
HSLhsl(295, 53%, 48%)
HSVhsv(295, 70%, 74%)
CMYKcmyk(5.3%, 69.7%, 0%, 26.3%)
CIE-LABlab(47.01, 64.64, -44.78)
CIE-LCHlch(47.01, 78.64, 325.29°)
OKLaboklab(57.12% 0.1755 -0.1246)
OKLCHoklch(57.12% 0.215 324.6)
XYZxyz(28.8996, 16.0239, 49.1379)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B239BC #43BC39
analogous
#7039BC #B239BC #BC3984
triadic
#B239BC #BCB239 #39BCB2
tetradic
#B239BC #BC7039 #43BC39 #3984BC
square
#B239BC #BC7039 #43BC39 #3984BC
split-complementary
#B239BC #84BC39 #39BC70
monochromatic
#591D5E #862B8D #B239BC #C763D0 #D892DE

Accessibility & contrast

On white

4.99
#B239BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#B239BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B239BC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B239BC#FFFFFF#000000##FFFFFF
##B239BC1.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1666C0
Deuteranopia (green-blind)
#5274B9
Tritanopia (blue-blind)
#B64F77
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b239bc;
/* rgb */ color: rgb(178, 57, 188);
/* oklch */ color: oklch(57.1% 0.215 324.6);
Tailwind
colors: {
  custom: {
    50: '#cd7ad1',
    500: '#b239bc',
    950: '#000000',
  },
}
SCSS
$custom: #b239bc;
$custom-light: #cd7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#b239bc",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 295.42,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57119,
    "c": 0.21525,
    "h": 324.6
  },
  "luminance": 0.16022
}

Semantic roles & 50–950 ramp

primary
#B239BC
secondary
#8DC988
accent
#DD4B56
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B239BC

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

Preview Lab → · Contrast checker → · Palette generator →

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