#B93EC4#B93EC4

#B93EC4 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.0% C 0.219 H 324.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B93EC4
RGBrgb(185, 62, 196)
HSLhsl(295, 53%, 51%)
HSVhsv(295, 68%, 77%)
CMYKcmyk(5.6%, 68.4%, 0%, 23.1%)
CIE-LABlab(49.19, 65.74, -45.89)
CIE-LCHlch(49.19, 80.17, 325.08°)
OKLaboklab(59.04% 0.1782 -0.1277)
OKLCHoklch(59.04% 0.219 324.4)
XYZxyz(31.6932, 17.7470, 53.9700)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B93EC4 #49C43E
analogous
#763EC4 #B93EC4 #C43E8C
triadic
#B93EC4 #C4B93E #3EC4B9
tetradic
#B93EC4 #C4763E #49C43E #3E8CC4
square
#B93EC4 #C4763E #49C43E #3E8CC4
split-complementary
#B93EC4 #8CC43E #3EC476
monochromatic
#622068 #8E2E97 #B93EC4 #CA6DD2 #DB9CE1

Accessibility & contrast

On white

4.62
#B93EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#B93EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B93EC4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B93EC4#FFFFFF#000000##FFFFFF
##B93EC41.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6BC8
Deuteranopia (green-blind)
#567AC1
Tritanopia (blue-blind)
#BD547D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b93ec4;
/* rgb */ color: rgb(185, 62, 196);
/* oklch */ color: oklch(59.0% 0.219 324.4);
Tailwind
colors: {
  custom: {
    50: '#d27ed6',
    500: '#b93ec4',
    950: '#000000',
  },
}
SCSS
$custom: #b93ec4;
$custom-light: #d27ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#b93ec4",
  "rgb": {
    "r": 185,
    "g": 62,
    "b": 196
  },
  "hsl": {
    "h": 295.075,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59043,
    "c": 0.21918,
    "h": 324.4
  },
  "luminance": 0.17745
}

Semantic roles & 50–950 ramp

primary
#B93EC4
secondary
#96CD91
accent
#DD4B57
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B93EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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