#B239AA#B239AA

#B239AA is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.1% C 0.201 H 330.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B239AA
RGBrgb(178, 57, 170)
HSLhsl(304, 51%, 46%)
HSVhsv(304, 68%, 70%)
CMYKcmyk(0%, 68%, 4.5%, 30.2%)
CIE-LABlab(46.04, 61.60, -35.74)
CIE-LCHlch(46.04, 71.22, 329.88°)
OKLaboklab(56.11% 0.1751 -0.0984)
OKLCHoklch(56.11% 0.201 330.7)
XYZxyz(27.0788, 15.2956, 39.5485)
Luminance0.1529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B239AA #39B241
analogous
#7D39B2 #B239AA #B2396D
triadic
#B239AA #AAB239 #39AAB2
tetradic
#B239AA #B27D39 #39B241 #396DB2
square
#B239AA #B27D39 #39B241 #396DB2
split-complementary
#B239AA #6DB239 #39B27D
monochromatic
#551B51 #842A7E #B239AA #CB5DC4 #DA8BD5

Accessibility & contrast

On white

5.17
#B239AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B239AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B239AA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B239AA#FFFFFF#000000##FFFFFF
##B239AA1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F62AD
Deuteranopia (green-blind)
#5C73A7
Tritanopia (blue-blind)
#B9476D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b239aa;
/* rgb */ color: rgb(178, 57, 170);
/* oklch */ color: oklch(56.1% 0.201 330.7);
Tailwind
colors: {
  custom: {
    50: '#cc7ac3',
    500: '#b239aa',
    950: '#000000',
  },
}
SCSS
$custom: #b239aa;
$custom-light: #cc7ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#b239aa",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 170
  },
  "hsl": {
    "h": 303.967,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56108,
    "c": 0.20083,
    "h": 330.7
  },
  "luminance": 0.15294
}

Semantic roles & 50–950 ramp

primary
#B239AA
secondary
#82C487
accent
#DB564D
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B239AA

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

Preview Lab → · Contrast checker → · Palette generator →

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