#B239AE#B239AE

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

Color values

HEX#B239AE
RGBrgb(178, 57, 174)
HSLhsl(302, 51%, 46%)
HSVhsv(302, 68%, 70%)
CMYKcmyk(0%, 68%, 2.2%, 30.2%)
CIE-LABlab(46.24, 62.26, -37.78)
CIE-LCHlch(46.24, 72.83, 328.75°)
OKLaboklab(56.33% 0.1753 -0.1042)
OKLCHoklch(56.33% 0.204 329.3)
XYZxyz(27.4630, 15.4492, 41.5717)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B239AE #39B23D
analogous
#7939B2 #B239AE #B23971
triadic
#B239AE #AEB239 #39AEB2
tetradic
#B239AE #B27939 #39B23D #3971B2
square
#B239AE #B27939 #39B23D #3971B2
split-complementary
#B239AE #71B239 #39B279
monochromatic
#551B53 #842A81 #B239AE #CB5DC8 #DA8BD7

Accessibility & contrast

On white

5.14
#B239AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#B239AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B239AE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B239AE#FFFFFF#000000##FFFFFF
##B239AE1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B63B1
Deuteranopia (green-blind)
#5A73AB
Tritanopia (blue-blind)
#B8486F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b239ae;
/* rgb */ color: rgb(178, 57, 174);
/* oklch */ color: oklch(56.3% 0.204 329.3);
Tailwind
colors: {
  custom: {
    50: '#cc7ac6',
    500: '#b239ae',
    950: '#000000',
  },
}
SCSS
$custom: #b239ae;
$custom-light: #cc7ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#b239ae",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 301.983,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56325,
    "c": 0.20396,
    "h": 329.3
  },
  "luminance": 0.15447
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B239AE

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

Preview Lab → · Contrast checker → · Palette generator →

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