#B239B5#B239B5

#B239B5 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.7% C 0.210 H 326.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B239B5
RGBrgb(178, 57, 181)
HSLhsl(299, 52%, 47%)
HSVhsv(299, 69%, 71%)
CMYKcmyk(1.7%, 68.5%, 0%, 29%)
CIE-LABlab(46.62, 63.44, -41.30)
CIE-LCHlch(46.62, 75.70, 326.93°)
OKLaboklab(56.72% 0.1755 -0.1145)
OKLCHoklch(56.72% 0.21 326.9)
XYZxyz(28.1632, 15.7293, 45.2598)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B239B5 #3CB539
analogous
#7439B5 #B239B5 #B5397A
triadic
#B239B5 #B5B239 #39B5B2
tetradic
#B239B5 #B57439 #3CB539 #397AB5
square
#B239B5 #B57439 #3CB539 #397AB5
split-complementary
#B239B5 #7AB539 #39B574
monochromatic
#561C58 #842A86 #B239B5 #CA5FCD #D98DDB

Accessibility & contrast

On white

5.07
#B239B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#B239B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B239B5
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B239B5#FFFFFF#000000##FFFFFF
##B239B51.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2265B9
Deuteranopia (green-blind)
#5674B2
Tritanopia (blue-blind)
#B74C73
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b239b5;
/* rgb */ color: rgb(178, 57, 181);
/* oklch */ color: oklch(56.7% 0.210 326.9);
Tailwind
colors: {
  custom: {
    50: '#cd7acc',
    500: '#b239b5',
    950: '#000000',
  },
}
SCSS
$custom: #b239b5;
$custom-light: #cd7acc;
$custom-dark: #000000;
JSON
{
  "hex": "#b239b5",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 298.548,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56715,
    "c": 0.20955,
    "h": 326.9
  },
  "luminance": 0.15727
}

Semantic roles & 50–950 ramp

primary
#B239B5
secondary
#86C684
accent
#DC4C50
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B239B5

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

Preview Lab → · Contrast checker → · Palette generator →

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