#B738BA#B738BA

#B738BA is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.6% C 0.217 H 327.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B738BA
RGBrgb(183, 56, 186)
HSLhsl(299, 54%, 47%)
HSVhsv(299, 70%, 73%)
CMYKcmyk(1.6%, 69.9%, 0%, 27.1%)
CIE-LABlab(47.55, 65.77, -42.70)
CIE-LCHlch(47.55, 78.41, 327.01°)
OKLaboklab(57.63% 0.1821 -0.1184)
OKLCHoklch(57.63% 0.217 327)
XYZxyz(29.8050, 16.4428, 48.0488)
Luminance0.1644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B738BA #3BBA38
analogous
#7638BA #B738BA #BA387C
triadic
#B738BA #BAB738 #38BAB7
tetradic
#B738BA #BA7638 #3BBA38 #387CBA
square
#B738BA #BA7638 #3BBA38 #387CBA
split-complementary
#B738BA #7CBA38 #38BA76
monochromatic
#5A1C5C #892A8B #B738BA #CD60CF #DC8FDD

Accessibility & contrast

On white

4.90
#B738BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#B738BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B738BA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B738BA#FFFFFF#000000##FFFFFF
##B738BA1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E66BE
Deuteranopia (green-blind)
#5776B7
Tritanopia (blue-blind)
#BC4C75
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b738ba;
/* rgb */ color: rgb(183, 56, 186);
/* oklch */ color: oklch(57.6% 0.217 327.0);
Tailwind
colors: {
  custom: {
    50: '#d07acf',
    500: '#b738ba',
    950: '#000000',
  },
}
SCSS
$custom: #b738ba;
$custom-light: #d07acf;
$custom-dark: #000000;
JSON
{
  "hex": "#b738ba",
  "rgb": {
    "r": 183,
    "g": 56,
    "b": 186
  },
  "hsl": {
    "h": 298.615,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57628,
    "c": 0.21717,
    "h": 327
  },
  "luminance": 0.16441
}

Semantic roles & 50–950 ramp

primary
#B738BA
secondary
#87C886
accent
#DD4B4E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B738BA

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

Preview Lab → · Contrast checker → · Palette generator →

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