#B239CC#B239CC

#B239CC is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.1% C 0.229 H 319.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B239CC
RGBrgb(178, 57, 204)
HSLhsl(289, 59%, 51%)
HSVhsv(289, 72%, 80%)
CMYKcmyk(12.7%, 72.1%, 0%, 20%)
CIE-LABlab(47.95, 67.51, -52.55)
CIE-LCHlch(47.95, 85.55, 322.10°)
OKLaboklab(58.09% 0.1748 -0.1473)
OKLCHoklch(58.09% 0.229 319.9)
XYZxyz(30.7209, 16.7524, 58.7304)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B239CC #53CC39
analogous
#6839CC #B239CC #CC399C
triadic
#B239CC #CCB239 #39CCB2
tetradic
#B239CC #CC6839 #53CC39 #399CCC
square
#B239CC #CC6839 #53CC39 #399CCC
split-complementary
#B239CC #9CCC39 #39CC68
monochromatic
#601C6E #8A299F #B239CC #C56AD9 #D89AE5

Accessibility & contrast

On white

4.83
#B239CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#B239CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B239CC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B239CC#FFFFFF#000000##FFFFFF
##B239CC1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#4676C9
Tritanopia (blue-blind)
#B2567F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b239cc;
/* rgb */ color: rgb(178, 57, 204);
/* oklch */ color: oklch(58.1% 0.229 319.9);
Tailwind
colors: {
  custom: {
    50: '#cd7bdc',
    500: '#b239cc',
    950: '#000000',
  },
}
SCSS
$custom: #b239cc;
$custom-light: #cd7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b239cc",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 289.388,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58094,
    "c": 0.22858,
    "h": 319.9
  },
  "luminance": 0.16751
}

Semantic roles & 50–950 ramp

primary
#B239CC
secondary
#9BD190
accent
#E24661
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B239CC

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

Preview Lab → · Contrast checker → · Palette generator →

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