#B738C5#B738C5

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

Color values

HEX#B738C5
RGBrgb(183, 56, 197)
HSLhsl(294, 56%, 50%)
HSVhsv(294, 72%, 77%)
CMYKcmyk(7.1%, 71.6%, 0%, 22.7%)
CIE-LABlab(48.17, 67.65, -48.11)
CIE-LCHlch(48.17, 83.01, 324.58°)
OKLaboklab(58.27% 0.1819 -0.1341)
OKLCHoklch(58.27% 0.226 323.6)
XYZxyz(31.0197, 16.9287, 54.4462)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B738C5 #46C538
analogous
#7138C5 #B738C5 #C5388C
triadic
#B738C5 #C5B738 #38C5B7
tetradic
#B738C5 #C57138 #46C538 #388CC5
square
#B738C5 #C57138 #46C538 #388CC5
split-complementary
#B738C5 #8CC538 #38C571
monochromatic
#5E1D66 #8B2A95 #B738C5 #C967D4 #DA96E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B738C5#FFFFFF#000000##FFFFFF
##B738C51.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)
#0069C9
Deuteranopia (green-blind)
#5077C2
Tritanopia (blue-blind)
#BA517B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b738c5;
/* rgb */ color: rgb(183, 56, 197);
/* oklch */ color: oklch(58.3% 0.226 323.6);
Tailwind
colors: {
  custom: {
    50: '#d07bd7',
    500: '#b738c5',
    950: '#000000',
  },
}
SCSS
$custom: #b738c5;
$custom-light: #d07bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#b738c5",
  "rgb": {
    "r": 183,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 294.043,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58271,
    "c": 0.22599,
    "h": 323.6
  },
  "luminance": 0.16927
}

Semantic roles & 50–950 ramp

primary
#B738C5
secondary
#93CD8C
accent
#DF4958
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B738C5

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

Preview Lab → · Contrast checker → · Palette generator →

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