#B333BC#B333BC

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

Color values

HEX#B333BC
RGBrgb(179, 51, 188)
HSLhsl(296, 57%, 47%)
HSVhsv(296, 73%, 74%)
CMYKcmyk(4.8%, 72.9%, 0%, 26.3%)
CIE-LABlab(46.42, 66.96, -45.69)
CIE-LCHlch(46.42, 81.07, 325.69°)
OKLaboklab(56.73% 0.1825 -0.1272)
OKLCHoklch(56.73% 0.222 325.1)
XYZxyz(28.8507, 15.5841, 49.0556)
Luminance0.1558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B333BC #3CBC33
analogous
#6E33BC #B333BC #BC3381
triadic
#B333BC #BCB333 #33BCB3
tetradic
#B333BC #BC6E33 #3CBC33 #3381BC
square
#B333BC #BC6E33 #3CBC33 #3381BC
split-complementary
#B333BC #81BC33 #33BC6E
monochromatic
#57195C #85268C #B333BC #CA5AD2 #DA8ADF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B333BC#FFFFFF#000000##FFFFFF
##B333BC1.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)
#0264C0
Deuteranopia (green-blind)
#5073B9
Tritanopia (blue-blind)
#B74B75
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b333bc;
/* rgb */ color: rgb(179, 51, 188);
/* oklch */ color: oklch(56.7% 0.222 325.1);
Tailwind
colors: {
  custom: {
    50: '#ce78d1',
    500: '#b333bc',
    950: '#000000',
  },
}
SCSS
$custom: #b333bc;
$custom-light: #ce78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b333bc",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 188
  },
  "hsl": {
    "h": 296.058,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56734,
    "c": 0.2224,
    "h": 325.1
  },
  "luminance": 0.15582
}

Semantic roles & 50–950 ramp

primary
#B333BC
secondary
#86C981
accent
#E14751
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B333BC

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

Preview Lab → · Contrast checker → · Palette generator →

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