#B239C1#B239C1

#B239C1 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.4% C 0.219 H 323.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B239C1
RGBrgb(178, 57, 193)
HSLhsl(293, 54%, 49%)
HSVhsv(293, 70%, 76%)
CMYKcmyk(7.8%, 70.5%, 0%, 24.3%)
CIE-LABlab(47.29, 65.52, -47.23)
CIE-LCHlch(47.29, 80.77, 324.21°)
OKLaboklab(57.42% 0.1754 -0.1317)
OKLCHoklch(57.42% 0.219 323.1)
XYZxyz(29.4479, 16.2432, 52.0259)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B239C1 #48C139
analogous
#6E39C1 #B239C1 #C1398C
triadic
#B239C1 #C1B239 #39C1B2
tetradic
#B239C1 #C16E39 #48C139 #398CC1
square
#B239C1 #C16E39 #48C139 #398CC1
split-complementary
#B239C1 #8CC139 #39C16E
monochromatic
#5B1D63 #862B92 #B239C1 #C666D2 #D795E0

Accessibility & contrast

On white

4.94
#B239C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#B239C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B239C1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B239C1#FFFFFF#000000##FFFFFF
##B239C11.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0567C5
Deuteranopia (green-blind)
#4E75BE
Tritanopia (blue-blind)
#B55179
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b239c1;
/* rgb */ color: rgb(178, 57, 193);
/* oklch */ color: oklch(57.4% 0.219 323.1);
Tailwind
colors: {
  custom: {
    50: '#cd7ad4',
    500: '#b239c1',
    950: '#000000',
  },
}
SCSS
$custom: #b239c1;
$custom-light: #cd7ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#b239c1",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 193
  },
  "hsl": {
    "h": 293.382,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57416,
    "c": 0.21937,
    "h": 323.1
  },
  "luminance": 0.16241
}

Semantic roles & 50–950 ramp

primary
#B239C1
secondary
#92CB8B
accent
#DE4A5A
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B239C1

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

Preview Lab → · Contrast checker → · Palette generator →

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