#B738C2#B738C2

#B738C2 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.1% C 0.224 H 324.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B738C2
RGBrgb(183, 56, 194)
HSLhsl(295, 55%, 49%)
HSVhsv(295, 71%, 76%)
CMYKcmyk(5.7%, 71.1%, 0%, 23.9%)
CIE-LABlab(48.00, 67.13, -46.64)
CIE-LCHlch(48.00, 81.74, 325.21°)
OKLaboklab(58.09% 0.182 -0.1299)
OKLCHoklch(58.09% 0.224 324.5)
XYZxyz(30.6794, 16.7926, 52.6538)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B738C2 #43C238
analogous
#7238C2 #B738C2 #C23888
triadic
#B738C2 #C2B738 #38C2B7
tetradic
#B738C2 #C27238 #43C238 #3888C2
square
#B738C2 #C27238 #43C238 #3888C2
split-complementary
#B738C2 #88C238 #38C272
monochromatic
#5D1D63 #8A2A93 #B738C2 #CA65D2 #DA94E0

Accessibility & contrast

On white

4.82
#B738C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#B738C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B738C2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B738C2#FFFFFF#000000##FFFFFF
##B738C21.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B68C6
Deuteranopia (green-blind)
#5277BF
Tritanopia (blue-blind)
#BB507A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b738c2;
/* rgb */ color: rgb(183, 56, 194);
/* oklch */ color: oklch(58.1% 0.224 324.5);
Tailwind
colors: {
  custom: {
    50: '#d07bd5',
    500: '#b738c2',
    950: '#000000',
  },
}
SCSS
$custom: #b738c2;
$custom-light: #d07bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#b738c2",
  "rgb": {
    "r": 183,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 295.217,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58092,
    "c": 0.22356,
    "h": 324.5
  },
  "luminance": 0.16791
}

Semantic roles & 50–950 ramp

primary
#B738C2
secondary
#90CB8A
accent
#DF4955
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B738C2

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

Preview Lab → · Contrast checker → · Palette generator →

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