#B93EA7#B93EA7

#B93EA7 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.5% C 0.196 H 334.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B93EA7
RGBrgb(185, 62, 167)
HSLhsl(309, 50%, 48%)
HSVhsv(309, 66%, 73%)
CMYKcmyk(0%, 66.5%, 9.7%, 27.5%)
CIE-LABlab(47.69, 60.94, -31.29)
CIE-LCHlch(47.69, 68.50, 332.82°)
OKLaboklab(57.48% 0.1767 -0.0855)
OKLCHoklch(57.48% 0.196 334.2)
XYZxyz(28.7055, 16.5519, 38.2347)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B93EA7 #3EB950
analogous
#8D3EB9 #B93EA7 #B93E6A
triadic
#B93EA7 #A7B93E #3EA7B9
tetradic
#B93EA7 #B98D3E #3EB950 #3E6AB9
square
#B93EA7 #B98D3E #3EB950 #3E6AB9
split-complementary
#B93EA7 #6AB93E #3EB98D
monochromatic
#5D1F54 #8B2F7E #B93EA7 #CC68BE #DC96D1

Accessibility & contrast

On white

4.87
#B93EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#B93EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B93EA7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B93EA7#FFFFFF#000000##FFFFFF
##B93EA71.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C66AA
Deuteranopia (green-blind)
#6678A4
Tritanopia (blue-blind)
#C1476D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b93ea7;
/* rgb */ color: rgb(185, 62, 167);
/* oklch */ color: oklch(57.5% 0.196 334.2);
Tailwind
colors: {
  custom: {
    50: '#d17dc1',
    500: '#b93ea7',
    950: '#000000',
  },
}
SCSS
$custom: #b93ea7;
$custom-light: #d17dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#b93ea7",
  "rgb": {
    "r": 185,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 308.78,
    "s": 49.798,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57476,
    "c": 0.19624,
    "h": 334.2
  },
  "luminance": 0.1655
}

Semantic roles & 50–950 ramp

primary
#B93EA7
secondary
#8CC794
accent
#D9634E
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B93EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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