#B239AF#B239AF

#B239AF is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.4% C 0.205 H 328.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B239AF
RGBrgb(178, 57, 175)
HSLhsl(301, 51%, 46%)
HSVhsv(301, 68%, 70%)
CMYKcmyk(0%, 68%, 1.7%, 30.2%)
CIE-LABlab(46.30, 62.43, -38.28)
CIE-LCHlch(46.30, 73.23, 328.48°)
OKLaboklab(56.38% 0.1754 -0.1057)
OKLCHoklch(56.38% 0.205 328.9)
XYZxyz(27.5608, 15.4884, 42.0871)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B239AF #39B23C
analogous
#7839B2 #B239AF #B23972
triadic
#B239AF #AFB239 #39AFB2
tetradic
#B239AF #B27839 #39B23C #3972B2
square
#B239AF #B27839 #39B23C #3972B2
split-complementary
#B239AF #72B239 #39B278
monochromatic
#551B54 #842A81 #B239AF #CB5DC8 #DA8BD8

Accessibility & contrast

On white

5.13
#B239AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B239AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B239AF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B239AF#FFFFFF#000000##FFFFFF
##B239AF1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A63B2
Deuteranopia (green-blind)
#5973AC
Tritanopia (blue-blind)
#B84970
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b239af;
/* rgb */ color: rgb(178, 57, 175);
/* oklch */ color: oklch(56.4% 0.205 328.9);
Tailwind
colors: {
  custom: {
    50: '#cc7ac7',
    500: '#b239af',
    950: '#000000',
  },
}
SCSS
$custom: #b239af;
$custom-light: #cc7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#b239af",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 301.488,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5638,
    "c": 0.20475,
    "h": 328.9
  },
  "luminance": 0.15486
}

Semantic roles & 50–950 ramp

primary
#B239AF
secondary
#82C484
accent
#DB504D
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B239AF

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

Preview Lab → · Contrast checker → · Palette generator →

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