#B239C5#B239C5

#B239C5 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.7% C 0.223 H 321.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B239C5
RGBrgb(178, 57, 197)
HSLhsl(292, 55%, 50%)
HSVhsv(292, 71%, 77%)
CMYKcmyk(9.6%, 71.1%, 0%, 22.7%)
CIE-LABlab(47.53, 66.24, -49.18)
CIE-LCHlch(47.53, 82.50, 323.41°)
OKLaboklab(57.66% 0.1753 -0.1374)
OKLCHoklch(57.66% 0.223 321.9)
XYZxyz(29.9002, 16.4241, 54.4077)
Luminance0.1642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B239C5 #4CC539
analogous
#6C39C5 #B239C5 #C53992
triadic
#B239C5 #C5B239 #39C5B2
tetradic
#B239C5 #C56C39 #4CC539 #3992C5
square
#B239C5 #C56C39 #4CC539 #3992C5
split-complementary
#B239C5 #92C539 #39C56C
monochromatic
#5C1E66 #872B96 #B239C5 #C568D3 #D797E1

Accessibility & contrast

On white

4.90
#B239C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#B239C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B239C5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B239C5#FFFFFF#000000##FFFFFF
##B239C51.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#4C75C2
Tritanopia (blue-blind)
#B4537C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b239c5;
/* rgb */ color: rgb(178, 57, 197);
/* oklch */ color: oklch(57.7% 0.223 321.9);
Tailwind
colors: {
  custom: {
    50: '#cd7ad7',
    500: '#b239c5',
    950: '#000000',
  },
}
SCSS
$custom: #b239c5;
$custom-light: #cd7ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#b239c5",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 291.857,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57659,
    "c": 0.2227,
    "h": 321.9
  },
  "luminance": 0.16422
}

Semantic roles & 50–950 ramp

primary
#B239C5
secondary
#96CD8D
accent
#DE495E
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B239C5

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

Preview Lab → · Contrast checker → · Palette generator →

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