#B239BE#B239BE

#B239BE is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.2% C 0.217 H 324.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B239BE
RGBrgb(178, 57, 190)
HSLhsl(295, 54%, 48%)
HSVhsv(295, 70%, 75%)
CMYKcmyk(6.3%, 70%, 0%, 25.5%)
CIE-LABlab(47.12, 64.99, -45.76)
CIE-LCHlch(47.12, 79.49, 324.85°)
OKLaboklab(57.24% 0.1755 -0.1274)
OKLCHoklch(57.24% 0.217 324)
XYZxyz(29.1167, 16.1107, 50.2813)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B239BE #45BE39
analogous
#6F39BE #B239BE #BE3987
triadic
#B239BE #BEB239 #39BEB2
tetradic
#B239BE #BE6F39 #45BE39 #3987BE
square
#B239BE #BE6F39 #45BE39 #3987BE
split-complementary
#B239BE #87BE39 #39BE6F
monochromatic
#5A1D60 #862B8F #B239BE #C764D0 #D893DF

Accessibility & contrast

On white

4.97
#B239BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#B239BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B239BE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B239BE#FFFFFF#000000##FFFFFF
##B239BE1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1066C2
Deuteranopia (green-blind)
#5175BB
Tritanopia (blue-blind)
#B54F78
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b239be;
/* rgb */ color: rgb(178, 57, 190);
/* oklch */ color: oklch(57.2% 0.217 324.0);
Tailwind
colors: {
  custom: {
    50: '#cd7ad2',
    500: '#b239be',
    950: '#000000',
  },
}
SCSS
$custom: #b239be;
$custom-light: #cd7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#b239be",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 190
  },
  "hsl": {
    "h": 294.586,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57237,
    "c": 0.2169,
    "h": 324
  },
  "luminance": 0.16109
}

Semantic roles & 50–950 ramp

primary
#B239BE
secondary
#8FCA89
accent
#DD4B58
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B239BE

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

Preview Lab → · Contrast checker → · Palette generator →

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