#B738AB#B738AB

#B738AB is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.8% C 0.206 H 332.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B738AB
RGBrgb(183, 56, 171)
HSLhsl(306, 53%, 47%)
HSVhsv(306, 69%, 72%)
CMYKcmyk(0%, 69.4%, 6.6%, 28.2%)
CIE-LABlab(46.76, 63.33, -35.13)
CIE-LCHlch(46.76, 72.42, 330.98°)
OKLaboklab(56.81% 0.1815 -0.0965)
OKLCHoklch(56.81% 0.206 332)
XYZxyz(28.2933, 15.8381, 40.0871)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B738AB #38B744
analogous
#8438B7 #B738AB #B7386C
triadic
#B738AB #ABB738 #38ABB7
tetradic
#B738AB #B78438 #38B744 #386CB7
square
#B738AB #B78438 #38B744 #386CB7
split-complementary
#B738AB #6CB738 #38B784
monochromatic
#591B53 #882A7F #B738AB #CE5EC3 #DC8DD5

Accessibility & contrast

On white

5.04
#B738AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#B738AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B738AB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B738AB#FFFFFF#000000##FFFFFF
##B738AB1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3163AE
Deuteranopia (green-blind)
#5F75A8
Tritanopia (blue-blind)
#BF456D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b738ab;
/* rgb */ color: rgb(183, 56, 171);
/* oklch */ color: oklch(56.8% 0.206 332.0);
Tailwind
colors: {
  custom: {
    50: '#d07ac4',
    500: '#b738ab',
    950: '#000000',
  },
}
SCSS
$custom: #b738ab;
$custom-light: #d07ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#b738ab",
  "rgb": {
    "r": 183,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 305.669,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56805,
    "c": 0.20557,
    "h": 332
  },
  "luminance": 0.15836
}

Semantic roles & 50–950 ramp

primary
#B738AB
secondary
#84C78A
accent
#DD594B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B738AB

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

Preview Lab → · Contrast checker → · Palette generator →

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