#B239B0#B239B0

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

Color values

HEX#B239B0
RGBrgb(178, 57, 176)
HSLhsl(301, 51%, 46%)
HSVhsv(301, 68%, 70%)
CMYKcmyk(0%, 68%, 1.1%, 30.2%)
CIE-LABlab(46.35, 62.59, -38.79)
CIE-LCHlch(46.35, 73.64, 328.21°)
OKLaboklab(56.44% 0.1754 -0.1072)
OKLCHoklch(56.44% 0.206 328.6)
XYZxyz(27.6594, 15.5278, 42.6062)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B239B0 #39B23B
analogous
#7739B2 #B239B0 #B23973
triadic
#B239B0 #B0B239 #39B0B2
tetradic
#B239B0 #B27739 #39B23B #3973B2
square
#B239B0 #B27739 #39B23B #3973B2
split-complementary
#B239B0 #73B239 #39B277
monochromatic
#551B54 #842A82 #B239B0 #CB5DC9 #DA8BD9

Accessibility & contrast

On white

5.12
#B239B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B239B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B239B0
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B239B0#FFFFFF#000000##FFFFFF
##B239B01.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2964B3
Deuteranopia (green-blind)
#5973AD
Tritanopia (blue-blind)
#B84970
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b239b0;
/* rgb */ color: rgb(178, 57, 176);
/* oklch */ color: oklch(56.4% 0.206 328.6);
Tailwind
colors: {
  custom: {
    50: '#cc7ac8',
    500: '#b239b0',
    950: '#000000',
  },
}
SCSS
$custom: #b239b0;
$custom-light: #cc7ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#b239b0",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 176
  },
  "hsl": {
    "h": 300.992,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56435,
    "c": 0.20555,
    "h": 328.6
  },
  "luminance": 0.15526
}

Semantic roles & 50–950 ramp

primary
#B239B0
secondary
#82C483
accent
#DB4F4D
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B239B0

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

Preview Lab → · Contrast checker → · Palette generator →

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