#B938CD#B938CD

#B938CD is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.0% C 0.233 H 321.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B938CD
RGBrgb(185, 56, 205)
HSLhsl(292, 60%, 51%)
HSVhsv(292, 73%, 80%)
CMYKcmyk(9.8%, 72.7%, 0%, 19.6%)
CIE-LABlab(48.95, 69.47, -51.46)
CIE-LCHlch(48.95, 86.46, 323.47°)
OKLaboklab(59.04% 0.1837 -0.1439)
OKLCHoklch(59.04% 0.233 321.9)
XYZxyz(32.4400, 17.5522, 59.4250)
Luminance0.1755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B938CD #4CCD38
analogous
#6E38CD #B938CD #CD3896
triadic
#B938CD #CDB938 #38CDB9
tetradic
#B938CD #CD6E38 #4CCD38 #3896CD
square
#B938CD #CD6E38 #4CCD38 #3896CD
split-complementary
#B938CD #96CD38 #38CD6E
monochromatic
#641C6F #9028A0 #B938CD #CA69D9 #DB9AE6

Accessibility & contrast

On white

4.66
#B938CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#B938CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B938CD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B938CD#FFFFFF#000000##FFFFFF
##B938CD1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#4C79CA
Tritanopia (blue-blind)
#BB5480
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b938cd;
/* rgb */ color: rgb(185, 56, 205);
/* oklch */ color: oklch(59.0% 0.233 321.9);
Tailwind
colors: {
  custom: {
    50: '#d27bdd',
    500: '#b938cd',
    950: '#000000',
  },
}
SCSS
$custom: #b938cd;
$custom-light: #d27bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#b938cd",
  "rgb": {
    "r": 185,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 291.946,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59038,
    "c": 0.23335,
    "h": 321.9
  },
  "luminance": 0.1755
}

Semantic roles & 50–950 ramp

primary
#B938CD
secondary
#98D18F
accent
#E3455A
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150A15
muted
#837C83

Preview Lab

Preview with #B938CD

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

Preview Lab → · Contrast checker → · Palette generator →

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