#B738CA#B738CA

#B738CA is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.6% C 0.230 H 322.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B738CA
RGBrgb(183, 56, 202)
HSLhsl(292, 58%, 51%)
HSVhsv(292, 72%, 79%)
CMYKcmyk(9.4%, 72.3%, 0%, 20.8%)
CIE-LABlab(48.46, 68.53, -50.53)
CIE-LCHlch(48.46, 85.14, 323.60°)
OKLaboklab(58.57% 0.1816 -0.1412)
OKLCHoklch(58.57% 0.23 322.1)
XYZxyz(31.6022, 17.1617, 57.5136)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B738CA #4BCA38
analogous
#6E38CA #B738CA #CA3894
triadic
#B738CA #CAB738 #38CAB7
tetradic
#B738CA #CA6E38 #4BCA38 #3894CA
square
#B738CA #CA6E38 #4BCA38 #3894CA
split-complementary
#B738CA #94CA38 #38CA6E
monochromatic
#611D6B #8D299B #B738CA #C868D7 #DA99E4

Accessibility & contrast

On white

4.74
#B738CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#B738CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B738CA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B738CA#FFFFFF#000000##FFFFFF
##B738CA1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#4D78C7
Tritanopia (blue-blind)
#B9537E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b738ca;
/* rgb */ color: rgb(183, 56, 202);
/* oklch */ color: oklch(58.6% 0.230 322.1);
Tailwind
colors: {
  custom: {
    50: '#d17bdb',
    500: '#b738ca',
    950: '#000000',
  },
}
SCSS
$custom: #b738ca;
$custom-light: #d17bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b738ca",
  "rgb": {
    "r": 183,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 292.192,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58574,
    "c": 0.23006,
    "h": 322.1
  },
  "luminance": 0.1716
}

Semantic roles & 50–950 ramp

primary
#B738CA
secondary
#97CF8E
accent
#E1475B
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B738CA

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

Preview Lab → · Contrast checker → · Palette generator →

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