#B333BA#B333BA

#B333BA is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.6% C 0.221 H 325.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B333BA
RGBrgb(179, 51, 186)
HSLhsl(297, 57%, 46%)
HSVhsv(297, 73%, 73%)
CMYKcmyk(3.8%, 72.6%, 0%, 27.1%)
CIE-LABlab(46.31, 66.62, -44.71)
CIE-LCHlch(46.31, 80.23, 326.13°)
OKLaboklab(56.62% 0.1825 -0.1243)
OKLCHoklch(56.62% 0.221 325.7)
XYZxyz(28.6366, 15.4984, 47.9280)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B333BA #3ABA33
analogous
#7033BA #B333BA #BA337E
triadic
#B333BA #BAB333 #33BAB3
tetradic
#B333BA #BA7033 #3ABA33 #337EBA
square
#B333BA #BA7033 #3ABA33 #337EBA
split-complementary
#B333BA #7EBA33 #33BA70
monochromatic
#57195A #85268A #B333BA #CB59D1 #DA89DF

Accessibility & contrast

On white

5.12
#B333BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B333BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B333BA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B333BA#FFFFFF#000000##FFFFFF
##B333BA1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A64BE
Deuteranopia (green-blind)
#5173B7
Tritanopia (blue-blind)
#B74A74
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b333ba;
/* rgb */ color: rgb(179, 51, 186);
/* oklch */ color: oklch(56.6% 0.221 325.7);
Tailwind
colors: {
  custom: {
    50: '#ce78cf',
    500: '#b333ba',
    950: '#000000',
  },
}
SCSS
$custom: #b333ba;
$custom-light: #ce78cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b333ba",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 186
  },
  "hsl": {
    "h": 296.889,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56615,
    "c": 0.22082,
    "h": 325.7
  },
  "luminance": 0.15497
}

Semantic roles & 50–950 ramp

primary
#B333BA
secondary
#84C980
accent
#E0484F
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B333BA

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

Preview Lab → · Contrast checker → · Palette generator →

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