#B93FA8#B93FA8

#B93FA8 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.6% C 0.196 H 333.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B93FA8
RGBrgb(185, 63, 168)
HSLhsl(308, 49%, 49%)
HSVhsv(308, 66%, 73%)
CMYKcmyk(0%, 65.9%, 9.2%, 27.5%)
CIE-LABlab(47.88, 60.70, -31.59)
CIE-LCHlch(47.88, 68.43, 332.51°)
OKLaboklab(57.63% 0.1756 -0.0863)
OKLCHoklch(57.63% 0.196 333.8)
XYZxyz(28.8531, 16.6988, 38.7417)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B93FA8 #3FB950
analogous
#8D3FB9 #B93FA8 #B93F6B
triadic
#B93FA8 #A8B93F #3FA8B9
tetradic
#B93FA8 #B98D3F #3FB950 #3F6BB9
square
#B93FA8 #B98D3F #3FB950 #3F6BB9
split-complementary
#B93FA8 #6BB93F #3FB98D
monochromatic
#5E2055 #8B2F7F #B93FA8 #CC69BE #DC97D2

Accessibility & contrast

On white

4.84
#B93FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#B93FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B93FA8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B93FA8#FFFFFF#000000##FFFFFF
##B93FA81.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D66AB
Deuteranopia (green-blind)
#6678A5
Tritanopia (blue-blind)
#C1496E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b93fa8;
/* rgb */ color: rgb(185, 63, 168);
/* oklch */ color: oklch(57.6% 0.196 333.8);
Tailwind
colors: {
  custom: {
    50: '#d17dc2',
    500: '#b93fa8',
    950: '#000000',
  },
}
SCSS
$custom: #b93fa8;
$custom-light: #d17dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#b93fa8",
  "rgb": {
    "r": 185,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 308.361,
    "s": 49.194,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57628,
    "c": 0.19569,
    "h": 333.8
  },
  "luminance": 0.16696
}

Semantic roles & 50–950 ramp

primary
#B93FA8
secondary
#8DC795
accent
#D9624F
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B93FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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