#B138C1#B138C1

#B138C1 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.2% C 0.220 H 322.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B138C1
RGBrgb(177, 56, 193)
HSLhsl(293, 55%, 49%)
HSVhsv(293, 71%, 76%)
CMYKcmyk(8.3%, 71%, 0%, 24.3%)
CIE-LABlab(47.01, 65.67, -47.69)
CIE-LCHlch(47.01, 81.16, 324.01°)
OKLaboklab(57.18% 0.1753 -0.1331)
OKLCHoklch(57.18% 0.22 322.8)
XYZxyz(29.1703, 16.0274, 51.9989)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B138C1 #48C138
analogous
#6D38C1 #B138C1 #C1388D
triadic
#B138C1 #C1B138 #38C1B1
tetradic
#B138C1 #C16D38 #48C138 #388DC1
square
#B138C1 #C16D38 #48C138 #388DC1
split-complementary
#B138C1 #8DC138 #38C16D
monochromatic
#5A1C62 #852A92 #B138C1 #C564D2 #D794E0

Accessibility & contrast

On white

4.99
#B138C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#B138C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B138C1
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B138C1#FFFFFF#000000##FFFFFF
##B138C11.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C5
Deuteranopia (green-blind)
#4D74BE
Tritanopia (blue-blind)
#B45079
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b138c1;
/* rgb */ color: rgb(177, 56, 193);
/* oklch */ color: oklch(57.2% 0.220 322.8);
Tailwind
colors: {
  custom: {
    50: '#cc7ad4',
    500: '#b138c1',
    950: '#000000',
  },
}
SCSS
$custom: #b138c1;
$custom-light: #cc7ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#b138c1",
  "rgb": {
    "r": 177,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 292.993,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57185,
    "c": 0.22007,
    "h": 322.8
  },
  "luminance": 0.16026
}

Semantic roles & 50–950 ramp

primary
#B138C1
secondary
#91CB8A
accent
#DE495B
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B138C1

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

Preview Lab → · Contrast checker → · Palette generator →

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