#B333BF#B333BF

#B333BF is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.9% C 0.225 H 324.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B333BF
RGBrgb(179, 51, 191)
HSLhsl(295, 58%, 47%)
HSVhsv(295, 73%, 75%)
CMYKcmyk(6.3%, 73.3%, 0%, 25.1%)
CIE-LABlab(46.60, 67.47, -47.17)
CIE-LCHlch(46.60, 82.32, 325.04°)
OKLaboklab(56.91% 0.1823 -0.1315)
OKLCHoklch(56.91% 0.225 324.2)
XYZxyz(29.1774, 15.7148, 50.7765)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B333BF #3FBF33
analogous
#6D33BF #B333BF #BF3385
triadic
#B333BF #BFB333 #33BFB3
tetradic
#B333BF #BF6D33 #3FBF33 #3385BF
square
#B333BF #BF6D33 #3FBF33 #3385BF
split-complementary
#B333BF #85BF33 #33BF6D
monochromatic
#58195E #86268F #B333BF #C95CD3 #D98CE0

Accessibility & contrast

On white

5.07
#B333BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B333BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B333BF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B333BF#FFFFFF#000000##FFFFFF
##B333BF1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#4E74BC
Tritanopia (blue-blind)
#B64C77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b333bf;
/* rgb */ color: rgb(179, 51, 191);
/* oklch */ color: oklch(56.9% 0.225 324.2);
Tailwind
colors: {
  custom: {
    50: '#ce78d3',
    500: '#b333bf',
    950: '#000000',
  },
}
SCSS
$custom: #b333bf;
$custom-light: #ce78d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b333bf",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 191
  },
  "hsl": {
    "h": 294.857,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56914,
    "c": 0.22479,
    "h": 324.2
  },
  "luminance": 0.15713
}

Semantic roles & 50–950 ramp

primary
#B333BF
secondary
#89CB83
accent
#E14754
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B333BF

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

Preview Lab → · Contrast checker → · Palette generator →

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