#B935AB#B935AB

#B935AB is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.8% C 0.210 H 332.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B935AB
RGBrgb(185, 53, 171)
HSLhsl(306, 55%, 47%)
HSVhsv(306, 71%, 73%)
CMYKcmyk(0%, 71.4%, 7.6%, 27.5%)
CIE-LABlab(46.72, 64.85, -35.18)
CIE-LCHlch(46.72, 73.78, 331.52°)
OKLaboklab(56.83% 0.1867 -0.0966)
OKLCHoklch(56.83% 0.21 332.6)
XYZxyz(28.6315, 15.8031, 40.0625)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B935AB #35B943
analogous
#8535B9 #B935AB #B93569
triadic
#B935AB #ABB935 #35ABB9
tetradic
#B935AB #B98535 #35B943 #3569B9
square
#B935AB #B98535 #35B943 #3569B9
split-complementary
#B935AB #69B935 #35B985
monochromatic
#5A1A53 #89277F #B935AB #D05BC4 #DE8BD5

Accessibility & contrast

On white

5.05
#B935AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#B935AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B935AB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B935AB#FFFFFF#000000##FFFFFF
##B935AB1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F63AE
Deuteranopia (green-blind)
#6075A8
Tritanopia (blue-blind)
#C1426C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b935ab;
/* rgb */ color: rgb(185, 53, 171);
/* oklch */ color: oklch(56.8% 0.210 332.6);
Tailwind
colors: {
  custom: {
    50: '#d279c4',
    500: '#b935ab',
    950: '#000000',
  },
}
SCSS
$custom: #b935ab;
$custom-light: #d279c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b935ab",
  "rgb": {
    "r": 185,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 306.364,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56834,
    "c": 0.21016,
    "h": 332.6
  },
  "luminance": 0.15801
}

Semantic roles & 50–950 ramp

primary
#B935AB
secondary
#82C889
accent
#DF5949
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #B935AB

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

Preview Lab → · Contrast checker → · Palette generator →

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