#B330BA#B330BA

#B330BA is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.4% C 0.224 H 325.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B330BA
RGBrgb(179, 48, 186)
HSLhsl(297, 59%, 46%)
HSVhsv(297, 74%, 73%)
CMYKcmyk(3.8%, 74.2%, 0%, 27.1%)
CIE-LABlab(45.97, 67.60, -45.25)
CIE-LCHlch(45.97, 81.35, 326.20°)
OKLaboklab(56.37% 0.1852 -0.1259)
OKLCHoklch(56.37% 0.224 325.8)
XYZxyz(28.5097, 15.2447, 47.8858)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B330BA #37BA30
analogous
#6E30BA #B330BA #BA307C
triadic
#B330BA #BAB330 #30BAB3
tetradic
#B330BA #BA6E30 #37BA30 #307CBA
square
#B330BA #BA6E30 #37BA30 #307CBA
split-complementary
#B330BA #7CBA30 #30BA6E
monochromatic
#551759 #842389 #B330BA #CD54D3 #DB85DF

Accessibility & contrast

On white

5.19
#B330BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B330BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B330BA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B330BA#FFFFFF#000000##FFFFFF
##B330BA1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BE
Deuteranopia (green-blind)
#4F72B7
Tritanopia (blue-blind)
#B74873
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b330ba;
/* rgb */ color: rgb(179, 48, 186);
/* oklch */ color: oklch(56.4% 0.224 325.8);
Tailwind
colors: {
  custom: {
    50: '#ce76cf',
    500: '#b330ba',
    950: '#000000',
  },
}
SCSS
$custom: #b330ba;
$custom-light: #ce76cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b330ba",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 296.957,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56371,
    "c": 0.22396,
    "h": 325.8
  },
  "luminance": 0.15243
}

Semantic roles & 50–950 ramp

primary
#B330BA
secondary
#81C97D
accent
#E2464E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B330BA

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

Preview Lab → · Contrast checker → · Palette generator →

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