#B333B3#B333B3

#B333B3 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.2% C 0.215 H 328.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B333B3
RGBrgb(179, 51, 179)
HSLhsl(300, 56%, 45%)
HSVhsv(300, 72%, 70%)
CMYKcmyk(0%, 71.5%, 0%, 29.8%)
CIE-LABlab(45.92, 65.45, -41.23)
CIE-LCHlch(45.92, 77.35, 327.79°)
OKLaboklab(56.21% 0.1826 -0.1142)
OKLCHoklch(56.21% 0.215 328)
XYZxyz(27.9106, 15.2080, 44.1045)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B333B3 #33B333
analogous
#7333B3 #B333B3 #B33373
triadic
#B333B3 #B3B333 #33B3B3
tetradic
#B333B3 #B37333 #33B333 #3373B3
square
#B333B3 #B37333 #33B333 #3373B3
split-complementary
#B333B3 #73B333 #33B373
monochromatic
#541854 #832583 #B333B3 #CE55CE #DC84DC

Accessibility & contrast

On white

5.20
#B333B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B333B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B333B3
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B333B3#FFFFFF#000000##FFFFFF
##B333B31.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B62B7
Deuteranopia (green-blind)
#5573B0
Tritanopia (blue-blind)
#B94670
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b333b3;
/* rgb */ color: rgb(179, 51, 179);
/* oklch */ color: oklch(56.2% 0.215 328.0);
Tailwind
colors: {
  custom: {
    50: '#cd77ca',
    500: '#b333b3',
    950: '#000000',
  },
}
SCSS
$custom: #b333b3;
$custom-light: #cd77ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b333b3",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 300,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56209,
    "c": 0.21534,
    "h": 328
  },
  "luminance": 0.15206
}

Semantic roles & 50–950 ramp

primary
#B333B3
secondary
#7CC67C
accent
#DF4949
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B333B3

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

Preview Lab → · Contrast checker → · Palette generator →

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