#B935BA#B935BA

#B935BA is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.7% C 0.221 H 327.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B935BA
RGBrgb(185, 53, 186)
HSLhsl(300, 56%, 47%)
HSVhsv(300, 72%, 73%)
CMYKcmyk(0.5%, 71.5%, 0%, 27.1%)
CIE-LABlab(47.51, 67.24, -42.75)
CIE-LCHlch(47.51, 79.68, 327.55°)
OKLaboklab(57.66% 0.1871 -0.1185)
OKLCHoklch(57.66% 0.221 327.7)
XYZxyz(30.1432, 16.4078, 48.0242)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B935BA #36BA35
analogous
#7735BA #B935BA #BA3579
triadic
#B935BA #BAB935 #35BAB9
tetradic
#B935BA #BA7735 #36BA35 #3579BA
square
#B935BA #BA7735 #36BA35 #3579BA
split-complementary
#B935BA #79BA35 #35BA77
monochromatic
#5A1A5B #8A278A #B935BA #D05CD0 #DD8BDE

Accessibility & contrast

On white

4.91
#B935BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#B935BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B935BA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B935BA#FFFFFF#000000##FFFFFF
##B935BA1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B66BE
Deuteranopia (green-blind)
#5877B7
Tritanopia (blue-blind)
#BF4A74
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b935ba;
/* rgb */ color: rgb(185, 53, 186);
/* oklch */ color: oklch(57.7% 0.221 327.7);
Tailwind
colors: {
  custom: {
    50: '#d279cf',
    500: '#b935ba',
    950: '#000000',
  },
}
SCSS
$custom: #b935ba;
$custom-light: #d279cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b935ba",
  "rgb": {
    "r": 185,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 299.549,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57657,
    "c": 0.22148,
    "h": 327.7
  },
  "luminance": 0.16406
}

Semantic roles & 50–950 ramp

primary
#B935BA
secondary
#83C882
accent
#DF494A
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #B935BA

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

Preview Lab → · Contrast checker → · Palette generator →

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