#B239B3#B239B3

#B239B3 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.6% C 0.208 H 327.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B239B3
RGBrgb(178, 57, 179)
HSLhsl(300, 52%, 46%)
HSVhsv(300, 68%, 70%)
CMYKcmyk(0.6%, 68.2%, 0%, 29.8%)
CIE-LABlab(46.51, 63.10, -40.30)
CIE-LCHlch(46.51, 74.87, 327.43°)
OKLaboklab(56.6% 0.1755 -0.1116)
OKLCHoklch(56.6% 0.208 327.6)
XYZxyz(27.9595, 15.6478, 44.1868)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B239B3 #3AB339
analogous
#7539B3 #B239B3 #B33977
triadic
#B239B3 #B3B239 #39B3B2
tetradic
#B239B3 #B37539 #3AB339 #3977B3
square
#B239B3 #B37539 #3AB339 #3977B3
split-complementary
#B239B3 #77B339 #39B375
monochromatic
#561B56 #842A85 #B239B3 #CB5ECC #DA8CDA

Accessibility & contrast

On white

5.09
#B239B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B239B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B239B3
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B239B3#FFFFFF#000000##FFFFFF
##B239B31.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2564B6
Deuteranopia (green-blind)
#5774B0
Tritanopia (blue-blind)
#B74B72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b239b3;
/* rgb */ color: rgb(178, 57, 179);
/* oklch */ color: oklch(56.6% 0.208 327.6);
Tailwind
colors: {
  custom: {
    50: '#cc7aca',
    500: '#b239b3',
    950: '#000000',
  },
}
SCSS
$custom: #b239b3;
$custom-light: #cc7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#b239b3",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 299.508,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56602,
    "c": 0.20794,
    "h": 327.6
  },
  "luminance": 0.15646
}

Semantic roles & 50–950 ramp

primary
#B239B3
secondary
#83C583
accent
#DB4D4E
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B239B3

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

Preview Lab → · Contrast checker → · Palette generator →

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