#B239B9#B239B9

#B239B9 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.9% C 0.213 H 325.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B239B9
RGBrgb(178, 57, 185)
HSLhsl(297, 53%, 47%)
HSVhsv(297, 69%, 73%)
CMYKcmyk(3.8%, 69.2%, 0%, 27.5%)
CIE-LABlab(46.84, 64.12, -43.29)
CIE-LCHlch(46.84, 77.37, 325.97°)
OKLaboklab(56.94% 0.1756 -0.1203)
OKLCHoklch(56.94% 0.213 325.6)
XYZxyz(28.5796, 15.8959, 47.4524)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B239B9 #40B939
analogous
#7239B9 #B239B9 #B93980
triadic
#B239B9 #B9B239 #39B9B2
tetradic
#B239B9 #B97239 #40B939 #3980B9
square
#B239B9 #B97239 #40B939 #3980B9
split-complementary
#B239B9 #80B939 #39B972
monochromatic
#581C5B #852B8A #B239B9 #C861CE #D890DD

Accessibility & contrast

On white

5.03
#B239B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#B239B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B239B9
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B239B9#FFFFFF#000000##FFFFFF
##B239B91.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C65BD
Deuteranopia (green-blind)
#5474B6
Tritanopia (blue-blind)
#B64D75
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b239b9;
/* rgb */ color: rgb(178, 57, 185);
/* oklch */ color: oklch(56.9% 0.213 325.6);
Tailwind
colors: {
  custom: {
    50: '#cd7ace',
    500: '#b239b9',
    950: '#000000',
  },
}
SCSS
$custom: #b239b9;
$custom-light: #cd7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#b239b9",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 296.719,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56944,
    "c": 0.21279,
    "h": 325.6
  },
  "luminance": 0.15894
}

Semantic roles & 50–950 ramp

primary
#B239B9
secondary
#8AC886
accent
#DC4B53
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B239B9

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

Preview Lab → · Contrast checker → · Palette generator →

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