#B331C0#B331C0

#B331C0 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.8% C 0.228 H 324.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B331C0
RGBrgb(179, 49, 192)
HSLhsl(295, 59%, 47%)
HSVhsv(295, 74%, 75%)
CMYKcmyk(6.8%, 74.5%, 0%, 24.7%)
CIE-LABlab(46.43, 68.30, -48.02)
CIE-LCHlch(46.43, 83.49, 324.89°)
OKLaboklab(56.81% 0.1841 -0.134)
OKLCHoklch(56.81% 0.228 324)
XYZxyz(29.2023, 15.5879, 51.3296)
Luminance0.1559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B331C0 #3EC031
analogous
#6B31C0 #B331C0 #C03186
triadic
#B331C0 #C0B331 #31C0B3
tetradic
#B331C0 #C06B31 #3EC031 #3186C0
square
#B331C0 #C06B31 #3EC031 #3186C0
split-complementary
#B331C0 #86C031 #31C06B
monochromatic
#58185E #86258F #B331C0 #CA59D5 #D98AE1

Accessibility & contrast

On white

5.10
#B331C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B331C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B331C0
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B331C0#FFFFFF#000000##FFFFFF
##B331C01.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#4C73BD
Tritanopia (blue-blind)
#B64B77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b331c0;
/* rgb */ color: rgb(179, 49, 192);
/* oklch */ color: oklch(56.8% 0.228 324.0);
Tailwind
colors: {
  custom: {
    50: '#ce77d4',
    500: '#b331c0',
    950: '#000000',
  },
}
SCSS
$custom: #b331c0;
$custom-light: #ce77d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b331c0",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 192
  },
  "hsl": {
    "h": 294.545,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56813,
    "c": 0.22765,
    "h": 324
  },
  "luminance": 0.15586
}

Semantic roles & 50–950 ramp

primary
#B331C0
secondary
#88CB82
accent
#E34554
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B331C0

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

Preview Lab → · Contrast checker → · Palette generator →

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