#B239A5#B239A5

#B239A5 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.8% C 0.197 H 332.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B239A5
RGBrgb(178, 57, 165)
HSLhsl(306, 51%, 46%)
HSVhsv(306, 68%, 70%)
CMYKcmyk(0%, 68%, 7.3%, 30.2%)
CIE-LABlab(45.78, 60.80, -33.17)
CIE-LCHlch(45.78, 69.26, 331.38°)
OKLaboklab(55.84% 0.1747 -0.091)
OKLCHoklch(55.84% 0.197 332.5)
XYZxyz(26.6148, 15.1100, 37.1048)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B239A5 #39B246
analogous
#8239B2 #B239A5 #B23968
triadic
#B239A5 #A5B239 #39A5B2
tetradic
#B239A5 #B28239 #39B246 #3968B2
square
#B239A5 #B28239 #39B246 #3968B2
split-complementary
#B239A5 #68B239 #39B282
monochromatic
#551B4F #842A7A #B239A5 #CB5DBF #DA8BD2

Accessibility & contrast

On white

5.22
#B239A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B239A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B239A5
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B239A5#FFFFFF#000000##FFFFFF
##B239A51.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3461A8
Deuteranopia (green-blind)
#5E73A2
Tritanopia (blue-blind)
#BA456A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b239a5;
/* rgb */ color: rgb(178, 57, 165);
/* oklch */ color: oklch(55.8% 0.197 332.5);
Tailwind
colors: {
  custom: {
    50: '#cc79c0',
    500: '#b239a5',
    950: '#000000',
  },
}
SCSS
$custom: #b239a5;
$custom-light: #cc79c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b239a5",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 165
  },
  "hsl": {
    "h": 306.446,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55844,
    "c": 0.19698,
    "h": 332.5
  },
  "luminance": 0.15108
}

Semantic roles & 50–950 ramp

primary
#B239A5
secondary
#82C489
accent
#DB5C4D
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B239A5

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

Preview Lab → · Contrast checker → · Palette generator →

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