#B935AF#B935AF

#B935AF is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.0% C 0.213 H 331.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B935AF
RGBrgb(185, 53, 175)
HSLhsl(305, 55%, 47%)
HSVhsv(305, 71%, 73%)
CMYKcmyk(0%, 71.4%, 5.4%, 27.5%)
CIE-LABlab(46.92, 65.48, -37.22)
CIE-LCHlch(46.92, 75.32, 330.38°)
OKLaboklab(57.05% 0.1869 -0.1025)
OKLCHoklch(57.05% 0.213 331.3)
XYZxyz(29.0185, 15.9579, 42.1010)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B935AF #35B93F
analogous
#8135B9 #B935AF #B9356D
triadic
#B935AF #AFB935 #35AFB9
tetradic
#B935AF #B98135 #35B93F #356DB9
square
#B935AF #B98135 #35B93F #356DB9
split-complementary
#B935AF #6DB935 #35B981
monochromatic
#5A1A55 #892782 #B935AF #D05BC7 #DE8BD7

Accessibility & contrast

On white

5.01
#B935AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#B935AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B935AF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B935AF#FFFFFF#000000##FFFFFF
##B935AF1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A63B2
Deuteranopia (green-blind)
#5E76AC
Tritanopia (blue-blind)
#C0446E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b935af;
/* rgb */ color: rgb(185, 53, 175);
/* oklch */ color: oklch(57.0% 0.213 331.3);
Tailwind
colors: {
  custom: {
    50: '#d279c7',
    500: '#b935af',
    950: '#000000',
  },
}
SCSS
$custom: #b935af;
$custom-light: #d279c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b935af",
  "rgb": {
    "r": 185,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 304.545,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57047,
    "c": 0.21312,
    "h": 331.3
  },
  "luminance": 0.15956
}

Semantic roles & 50–950 ramp

primary
#B935AF
secondary
#82C887
accent
#DF5449
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #B935AF

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

Preview Lab → · Contrast checker → · Palette generator →

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