#B93EA8#B93EA8

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

Color values

HEX#B93EA8
RGBrgb(185, 62, 168)
HSLhsl(308, 50%, 48%)
HSVhsv(308, 66%, 73%)
CMYKcmyk(0%, 66.5%, 9.2%, 27.5%)
CIE-LABlab(47.74, 61.09, -31.81)
CIE-LCHlch(47.74, 68.88, 332.50°)
OKLaboklab(57.53% 0.1768 -0.0869)
OKLCHoklch(57.53% 0.197 333.8)
XYZxyz(28.7983, 16.5890, 38.7234)
Luminance0.1659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B93EA8 #3EB94F
analogous
#8C3EB9 #B93EA8 #B93E6A
triadic
#B93EA8 #A8B93E #3EA8B9
tetradic
#B93EA8 #B98C3E #3EB94F #3E6AB9
square
#B93EA8 #B98C3E #3EB94F #3E6AB9
split-complementary
#B93EA8 #6AB93E #3EB98C
monochromatic
#5D1F55 #8B2F7E #B93EA8 #CC68BE #DC96D2

Accessibility & contrast

On white

4.86
#B93EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#B93EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B93EA8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B93EA8#FFFFFF#000000##FFFFFF
##B93EA81.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B66AB
Deuteranopia (green-blind)
#6578A5
Tritanopia (blue-blind)
#C1486E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b93ea8;
/* rgb */ color: rgb(185, 62, 168);
/* oklch */ color: oklch(57.5% 0.197 333.8);
Tailwind
colors: {
  custom: {
    50: '#d17dc2',
    500: '#b93ea8',
    950: '#000000',
  },
}
SCSS
$custom: #b93ea8;
$custom-light: #d17dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#b93ea8",
  "rgb": {
    "r": 185,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 308.293,
    "s": 49.798,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57526,
    "c": 0.19698,
    "h": 333.8
  },
  "luminance": 0.16587
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B93EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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