#B330B2#B330B2

#B330B2 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.9% C 0.218 H 328.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B330B2
RGBrgb(179, 48, 178)
HSLhsl(300, 58%, 45%)
HSVhsv(300, 73%, 70%)
CMYKcmyk(0%, 73.2%, 0.6%, 29.8%)
CIE-LABlab(45.52, 66.28, -41.27)
CIE-LCHlch(45.52, 78.08, 328.09°)
OKLaboklab(55.9% 0.1854 -0.1143)
OKLCHoklch(55.9% 0.218 328.3)
XYZxyz(27.6829, 14.9140, 43.5315)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B330B2 #30B331
analogous
#7330B3 #B330B2 #B33071
triadic
#B330B2 #B2B330 #30B2B3
tetradic
#B330B2 #B37330 #30B331 #3071B3
square
#B330B2 #B37330 #30B331 #3071B3
split-complementary
#B330B2 #71B330 #30B373
monochromatic
#521652 #832382 #B330B2 #D050CF #DD80DC

Accessibility & contrast

On white

5.27
#B330B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B330B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B330B2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B330B2#FFFFFF#000000##FFFFFF
##B330B21.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1761B6
Deuteranopia (green-blind)
#5472AF
Tritanopia (blue-blind)
#B9446F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b330b2;
/* rgb */ color: rgb(179, 48, 178);
/* oklch */ color: oklch(55.9% 0.218 328.3);
Tailwind
colors: {
  custom: {
    50: '#ce76c9',
    500: '#b330b2',
    950: '#000000',
  },
}
SCSS
$custom: #b330b2;
$custom-light: #ce76c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b330b2",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 300.458,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55903,
    "c": 0.21778,
    "h": 328.3
  },
  "luminance": 0.14912
}

Semantic roles & 50–950 ramp

primary
#B330B2
secondary
#79C679
accent
#E14847
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B330B2

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

Preview Lab → · Contrast checker → · Palette generator →

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