#B333B8#B333B8

#B333B8 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.5% C 0.219 H 326.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B333B8
RGBrgb(179, 51, 184)
HSLhsl(298, 57%, 46%)
HSVhsv(298, 72%, 72%)
CMYKcmyk(2.7%, 72.3%, 0%, 27.8%)
CIE-LABlab(46.20, 66.28, -43.72)
CIE-LCHlch(46.20, 79.40, 326.59°)
OKLaboklab(56.5% 0.1826 -0.1214)
OKLCHoklch(56.5% 0.219 326.4)
XYZxyz(28.4254, 15.4140, 46.8161)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B333B8 #38B833
analogous
#7033B8 #B333B8 #B8337A
triadic
#B333B8 #B8B333 #33B8B3
tetradic
#B333B8 #B87033 #38B833 #337AB8
square
#B333B8 #B87033 #38B833 #337AB8
split-complementary
#B333B8 #7AB833 #33B870
monochromatic
#561858 #842688 #B333B8 #CC58D1 #DB88DE

Accessibility & contrast

On white

5.14
#B333B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B333B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B333B8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B333B8#FFFFFF#000000##FFFFFF
##B333B81.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1063BC
Deuteranopia (green-blind)
#5273B5
Tritanopia (blue-blind)
#B84973
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b333b8;
/* rgb */ color: rgb(179, 51, 184);
/* oklch */ color: oklch(56.5% 0.219 326.4);
Tailwind
colors: {
  custom: {
    50: '#ce77ce',
    500: '#b333b8',
    950: '#000000',
  },
}
SCSS
$custom: #b333b8;
$custom-light: #ce77ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b333b8",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 297.744,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56498,
    "c": 0.21925,
    "h": 326.4
  },
  "luminance": 0.15412
}

Semantic roles & 50–950 ramp

primary
#B333B8
secondary
#82C87F
accent
#E0484E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B333B8

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

Preview Lab → · Contrast checker → · Palette generator →

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