#B330B1#B330B1

#B330B1 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.8% C 0.217 H 328.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B330B1
RGBrgb(179, 48, 177)
HSLhsl(301, 58%, 45%)
HSVhsv(301, 73%, 70%)
CMYKcmyk(0%, 73.2%, 1.1%, 29.8%)
CIE-LABlab(45.46, 66.11, -40.77)
CIE-LCHlch(45.46, 77.67, 328.34°)
OKLaboklab(55.85% 0.1854 -0.1128)
OKLCHoklch(55.85% 0.217 328.7)
XYZxyz(27.5829, 14.8740, 43.0046)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B330B1 #30B332
analogous
#7430B3 #B330B1 #B33070
triadic
#B330B1 #B1B330 #30B1B3
tetradic
#B330B1 #B37430 #30B332 #3070B3
square
#B330B1 #B37430 #30B332 #3070B3
split-complementary
#B330B1 #70B330 #30B374
monochromatic
#521652 #832381 #B330B1 #D050CE #DD80DC

Accessibility & contrast

On white

5.28
#B330B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B330B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B330B1
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B330B1#FFFFFF#000000##FFFFFF
##B330B11.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1961B5
Deuteranopia (green-blind)
#5572AE
Tritanopia (blue-blind)
#B9446E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b330b1;
/* rgb */ color: rgb(179, 48, 177);
/* oklch */ color: oklch(55.8% 0.217 328.7);
Tailwind
colors: {
  custom: {
    50: '#ce76c9',
    500: '#b330b1',
    950: '#000000',
  },
}
SCSS
$custom: #b330b1;
$custom-light: #ce76c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b330b1",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 300.916,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55846,
    "c": 0.21702,
    "h": 328.7
  },
  "luminance": 0.14872
}

Semantic roles & 50–950 ramp

primary
#B330B1
secondary
#79C67A
accent
#E14947
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B330B1

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

Preview Lab → · Contrast checker → · Palette generator →

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