#B935B2#B935B2

#B935B2 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.2% C 0.215 H 330.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B935B2
RGBrgb(185, 53, 178)
HSLhsl(303, 55%, 47%)
HSVhsv(303, 71%, 73%)
CMYKcmyk(0%, 71.4%, 3.8%, 27.5%)
CIE-LABlab(47.08, 65.95, -38.74)
CIE-LCHlch(47.08, 76.49, 329.57°)
OKLaboklab(57.21% 0.187 -0.1068)
OKLCHoklch(57.21% 0.215 330.3)
XYZxyz(29.3164, 16.0771, 43.6700)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B935B2 #35B93C
analogous
#7E35B9 #B935B2 #B93570
triadic
#B935B2 #B2B935 #35B2B9
tetradic
#B935B2 #B97E35 #35B93C #3570B9
square
#B935B2 #B97E35 #35B93C #3570B9
split-complementary
#B935B2 #70B935 #35B97E
monochromatic
#5A1A56 #892784 #B935B2 #D05BCA #DE8BD9

Accessibility & contrast

On white

4.98
#B935B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#B935B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B935B2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B935B2#FFFFFF#000000##FFFFFF
##B935B21.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2764B5
Deuteranopia (green-blind)
#5C76AF
Tritanopia (blue-blind)
#C04670
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b935b2;
/* rgb */ color: rgb(185, 53, 178);
/* oklch */ color: oklch(57.2% 0.215 330.3);
Tailwind
colors: {
  custom: {
    50: '#d279c9',
    500: '#b935b2',
    950: '#000000',
  },
}
SCSS
$custom: #b935b2;
$custom-light: #d279c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b935b2",
  "rgb": {
    "r": 185,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 303.182,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5721,
    "c": 0.21537,
    "h": 330.3
  },
  "luminance": 0.16075
}

Semantic roles & 50–950 ramp

primary
#B935B2
secondary
#82C886
accent
#DF5149
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #B935B2

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

Preview Lab → · Contrast checker → · Palette generator →

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