#B935A7#B935A7

#B935A7 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.6% C 0.207 H 334.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B935A7
RGBrgb(185, 53, 167)
HSLhsl(308, 55%, 47%)
HSVhsv(308, 71%, 73%)
CMYKcmyk(0%, 71.4%, 9.7%, 27.5%)
CIE-LABlab(46.52, 64.24, -33.13)
CIE-LCHlch(46.52, 72.28, 332.72°)
OKLaboklab(56.63% 0.1863 -0.0907)
OKLCHoklch(56.63% 0.207 334.1)
XYZxyz(28.2560, 15.6529, 38.0849)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B935A7 #35B947
analogous
#8935B9 #B935A7 #B93565
triadic
#B935A7 #A7B935 #35A7B9
tetradic
#B935A7 #B98935 #35B947 #3565B9
square
#B935A7 #B98935 #35B947 #3565B9
split-complementary
#B935A7 #65B935 #35B989
monochromatic
#5A1A51 #89277C #B935A7 #D05BC0 #DE8BD2

Accessibility & contrast

On white

5.08
#B935A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B935A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B935A7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B935A7#FFFFFF#000000##FFFFFF
##B935A71.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3262AA
Deuteranopia (green-blind)
#6175A4
Tritanopia (blue-blind)
#C2416A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b935a7;
/* rgb */ color: rgb(185, 53, 167);
/* oklch */ color: oklch(56.6% 0.207 334.1);
Tailwind
colors: {
  custom: {
    50: '#d278c1',
    500: '#b935a7',
    950: '#000000',
  },
}
SCSS
$custom: #b935a7;
$custom-light: #d278c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b935a7",
  "rgb": {
    "r": 185,
    "g": 53,
    "b": 167
  },
  "hsl": {
    "h": 308.182,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56626,
    "c": 0.20724,
    "h": 334.1
  },
  "luminance": 0.15651
}

Semantic roles & 50–950 ramp

primary
#B935A7
secondary
#82C88B
accent
#DF5D49
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #B935A7

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

Preview Lab → · Contrast checker → · Palette generator →

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