#B139D2#B139D2

#B139D2 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.3% C 0.233 H 317.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B139D2
RGBrgb(177, 57, 210)
HSLhsl(287, 63%, 52%)
HSVhsv(287, 73%, 82%)
CMYKcmyk(15.7%, 72.9%, 0%, 17.6%)
CIE-LABlab(48.17, 68.42, -55.65)
CIE-LCHlch(48.17, 88.19, 320.87°)
OKLaboklab(58.34% 0.1731 -0.1564)
OKLCHoklch(58.34% 0.233 317.9)
XYZxyz(31.2258, 16.9279, 62.5829)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B139D2 #5AD239
analogous
#6539D2 #B139D2 #D239A6
triadic
#B139D2 #D2B139 #39D2B1
tetradic
#B139D2 #D26539 #5AD239 #39A6D2
square
#B139D2 #D26539 #5AD239 #39A6D2
split-complementary
#B139D2 #A6D239 #39D265
monochromatic
#621B76 #8C26A8 #B139D2 #C56BDD #D89DE9

Accessibility & contrast

On white

4.79
#B139D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#B139D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B139D2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B139D2#FFFFFF#000000##FFFFFF
##B139D21.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#3F76CF
Tritanopia (blue-blind)
#B05883
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b139d2;
/* rgb */ color: rgb(177, 57, 210);
/* oklch */ color: oklch(58.3% 0.233 317.9);
Tailwind
colors: {
  custom: {
    50: '#cd7be0',
    500: '#b139d2',
    950: '#000000',
  },
}
SCSS
$custom: #b139d2;
$custom-light: #cd7be0;
$custom-dark: #000000;
JSON
{
  "hex": "#b139d2",
  "rgb": {
    "r": 177,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 287.059,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58341,
    "c": 0.2333,
    "h": 317.9
  },
  "luminance": 0.16927
}

Semantic roles & 50–950 ramp

primary
#B139D2
secondary
#A0D592
accent
#E64265
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B139D2

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

Preview Lab → · Contrast checker → · Palette generator →

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