#B934C2#B934C2

#B934C2 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.0% C 0.229 H 325.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B934C2
RGBrgb(185, 52, 194)
HSLhsl(296, 58%, 48%)
HSVhsv(296, 73%, 76%)
CMYKcmyk(4.6%, 73.2%, 0%, 23.9%)
CIE-LABlab(47.84, 68.91, -46.88)
CIE-LCHlch(47.84, 83.34, 325.77°)
OKLaboklab(58.04% 0.1879 -0.1305)
OKLCHoklch(58.04% 0.229 325.2)
XYZxyz(30.9725, 16.6673, 52.6142)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B934C2 #3DC234
analogous
#7234C2 #B934C2 #C23484
triadic
#B934C2 #C2B934 #34C2B9
tetradic
#B934C2 #C27234 #3DC234 #3484C2
square
#B934C2 #C27234 #3DC234 #3484C2
split-complementary
#B934C2 #84C234 #34C272
monochromatic
#5D1A61 #8B2792 #B934C2 #CD5FD4 #DC8FE1

Accessibility & contrast

On white

4.85
#B934C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#B934C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B934C2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B934C2#FFFFFF#000000##FFFFFF
##B934C21.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#5277BF
Tritanopia (blue-blind)
#BD4D79
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b934c2;
/* rgb */ color: rgb(185, 52, 194);
/* oklch */ color: oklch(58.0% 0.229 325.2);
Tailwind
colors: {
  custom: {
    50: '#d279d5',
    500: '#b934c2',
    950: '#000000',
  },
}
SCSS
$custom: #b934c2;
$custom-light: #d279d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b934c2",
  "rgb": {
    "r": 185,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 296.197,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5804,
    "c": 0.22877,
    "h": 325.2
  },
  "luminance": 0.16665
}

Semantic roles & 50–950 ramp

primary
#B934C2
secondary
#8BCC86
accent
#E14751
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #B934C2

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

Preview Lab → · Contrast checker → · Palette generator →

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