#B333DB#B333DB

#B333DB is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.7% C 0.248 H 316.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B333DB
RGBrgb(179, 51, 219)
HSLhsl(286, 70%, 53%)
HSVhsv(286, 77%, 86%)
CMYKcmyk(18.3%, 76.7%, 0%, 14.1%)
CIE-LABlab(48.34, 72.50, -60.50)
CIE-LCHlch(48.34, 94.43, 320.15°)
OKLaboklab(58.71% 0.1796 -0.1705)
OKLCHoklch(58.71% 0.248 316.5)
XYZxyz(32.5585, 17.0672, 68.5834)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B333DB #5BDB33
analogous
#5F33DB #B333DB #DB33AF
triadic
#B333DB #DBB333 #33DBB3
tetradic
#B333DB #DB5F33 #5BDB33 #33AFDB
square
#B333DB #DB5F33 #5BDB33 #33AFDB
split-complementary
#B333DB #AFDB33 #33DB5F
monochromatic
#65167D #8F1FB1 #B333DB #C667E4 #DA9BED

Accessibility & contrast

On white

4.76
#B333DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B333DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B333DB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B333DB#FFFFFF#000000##FFFFFF
##B333DB1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#3376D7
Tritanopia (blue-blind)
#B05986
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b333db;
/* rgb */ color: rgb(179, 51, 219);
/* oklch */ color: oklch(58.7% 0.248 316.5);
Tailwind
colors: {
  custom: {
    50: '#ce79e7',
    500: '#b333db',
    950: '#000000',
  },
}
SCSS
$custom: #b333db;
$custom-light: #ce79e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b333db",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 219
  },
  "hsl": {
    "h": 285.714,
    "s": 70,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5871,
    "c": 0.24763,
    "h": 316.5
  },
  "luminance": 0.17066
}

Semantic roles & 50–950 ramp

primary
#B333DB
secondary
#A2D991
accent
#ED3B65
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B333DB

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

Preview Lab → · Contrast checker → · Palette generator →

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