#B330BB#B330BB

#B330BB is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.4% C 0.225 H 325.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B330BB
RGBrgb(179, 48, 187)
HSLhsl(297, 59%, 46%)
HSVhsv(297, 74%, 73%)
CMYKcmyk(4.3%, 74.3%, 0%, 26.7%)
CIE-LABlab(46.03, 67.77, -45.75)
CIE-LCHlch(46.03, 81.76, 325.98°)
OKLaboklab(56.43% 0.1852 -0.1273)
OKLCHoklch(56.43% 0.225 325.5)
XYZxyz(28.6164, 15.2874, 48.4476)
Luminance0.1529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B330BB #38BB30
analogous
#6D30BB #B330BB #BB307D
triadic
#B330BB #BBB330 #30BBB3
tetradic
#B330BB #BB6D30 #38BB30 #307DBB
square
#B330BB #BB6D30 #38BB30 #307DBB
split-complementary
#B330BB #7DBB30 #30BB6D
monochromatic
#56175A #84238A #B330BB #CC55D3 #DB86E0

Accessibility & contrast

On white

5.18
#B330BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B330BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B330BB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B330BB#FFFFFF#000000##FFFFFF
##B330BB1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#4F72B8
Tritanopia (blue-blind)
#B74874
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b330bb;
/* rgb */ color: rgb(179, 48, 187);
/* oklch */ color: oklch(56.4% 0.225 325.5);
Tailwind
colors: {
  custom: {
    50: '#ce76d0',
    500: '#b330bb',
    950: '#000000',
  },
}
SCSS
$custom: #b330bb;
$custom-light: #ce76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b330bb",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 296.547,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56431,
    "c": 0.22473,
    "h": 325.5
  },
  "luminance": 0.15285
}

Semantic roles & 50–950 ramp

primary
#B330BB
secondary
#82C97D
accent
#E2454E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B330BB

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

Preview Lab → · Contrast checker → · Palette generator →

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