#B138BE#B138BE

#B138BE is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.0% C 0.218 H 323.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B138BE
RGBrgb(177, 56, 190)
HSLhsl(294, 54%, 48%)
HSVhsv(294, 71%, 75%)
CMYKcmyk(6.8%, 70.5%, 0%, 25.5%)
CIE-LABlab(46.84, 65.14, -46.22)
CIE-LCHlch(46.84, 79.87, 324.64°)
OKLaboklab(57% 0.1754 -0.1288)
OKLCHoklch(57% 0.218 323.7)
XYZxyz(28.8391, 15.8949, 50.2542)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B138BE #45BE38
analogous
#6E38BE #B138BE #BE3888
triadic
#B138BE #BEB138 #38BEB1
tetradic
#B138BE #BE6E38 #45BE38 #3888BE
square
#B138BE #BE6E38 #45BE38 #3888BE
split-complementary
#B138BE #88BE38 #38BE6E
monochromatic
#591C5F #852A8F #B138BE #C662D1 #D792DF

Accessibility & contrast

On white

5.03
#B138BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#B138BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B138BE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B138BE#FFFFFF#000000##FFFFFF
##B138BE1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A66C2
Deuteranopia (green-blind)
#4F74BB
Tritanopia (blue-blind)
#B44F77
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b138be;
/* rgb */ color: rgb(177, 56, 190);
/* oklch */ color: oklch(57.0% 0.218 323.7);
Tailwind
colors: {
  custom: {
    50: '#cc7ad2',
    500: '#b138be',
    950: '#000000',
  },
}
SCSS
$custom: #b138be;
$custom-light: #cc7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#b138be",
  "rgb": {
    "r": 177,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 294.179,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57004,
    "c": 0.21759,
    "h": 323.7
  },
  "luminance": 0.15893
}

Semantic roles & 50–950 ramp

primary
#B138BE
secondary
#8ECA88
accent
#DE4A58
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B138BE

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

Preview Lab → · Contrast checker → · Palette generator →

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