#B239AD#B239AD

#B239AD is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.3% C 0.203 H 329.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B239AD
RGBrgb(178, 57, 173)
HSLhsl(302, 51%, 46%)
HSVhsv(302, 68%, 70%)
CMYKcmyk(0%, 68%, 2.8%, 30.2%)
CIE-LABlab(46.19, 62.10, -37.27)
CIE-LCHlch(46.19, 72.42, 329.03°)
OKLaboklab(56.27% 0.1753 -0.1028)
OKLCHoklch(56.27% 0.203 329.6)
XYZxyz(27.3659, 15.4104, 41.0602)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B239AD #39B23E
analogous
#7A39B2 #B239AD #B23970
triadic
#B239AD #ADB239 #39ADB2
tetradic
#B239AD #B27A39 #39B23E #3970B2
square
#B239AD #B27A39 #39B23E #3970B2
split-complementary
#B239AD #70B239 #39B27A
monochromatic
#551B53 #842A80 #B239AD #CB5DC7 #DA8BD7

Accessibility & contrast

On white

5.15
#B239AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B239AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B239AD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B239AD#FFFFFF#000000##FFFFFF
##B239AD1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C63B0
Deuteranopia (green-blind)
#5B73AA
Tritanopia (blue-blind)
#B8486E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b239ad;
/* rgb */ color: rgb(178, 57, 173);
/* oklch */ color: oklch(56.3% 0.203 329.6);
Tailwind
colors: {
  custom: {
    50: '#cc7ac6',
    500: '#b239ad',
    950: '#000000',
  },
}
SCSS
$custom: #b239ad;
$custom-light: #cc7ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#b239ad",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 173
  },
  "hsl": {
    "h": 302.479,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5627,
    "c": 0.20317,
    "h": 329.6
  },
  "luminance": 0.15408
}

Semantic roles & 50–950 ramp

primary
#B239AD
secondary
#82C485
accent
#DB534D
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B239AD

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

Preview Lab → · Contrast checker → · Palette generator →

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