#B330B6#B330B6

#B330B6 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.221 H 327.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B330B6
RGBrgb(179, 48, 182)
HSLhsl(299, 58%, 45%)
HSVhsv(299, 74%, 71%)
CMYKcmyk(1.6%, 73.6%, 0%, 28.6%)
CIE-LABlab(45.74, 66.93, -43.27)
CIE-LCHlch(45.74, 79.70, 327.12°)
OKLaboklab(56.14% 0.1853 -0.1201)
OKLCHoklch(56.14% 0.221 327.1)
XYZxyz(28.0904, 15.0770, 45.6775)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B330B6 #33B630
analogous
#7030B6 #B330B6 #B63076
triadic
#B330B6 #B6B330 #30B6B3
tetradic
#B330B6 #B67030 #33B630 #3076B6
square
#B330B6 #B67030 #33B630 #3076B6
split-complementary
#B330B6 #76B630 #30B670
monochromatic
#541655 #832386 #B330B6 #CE52D1 #DC82DE

Accessibility & contrast

On white

5.23
#B330B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B330B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B330B6
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B330B6#FFFFFF#000000##FFFFFF
##B330B61.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D62BA
Deuteranopia (green-blind)
#5272B3
Tritanopia (blue-blind)
#B84671
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b330b6;
/* rgb */ color: rgb(179, 48, 182);
/* oklch */ color: oklch(56.1% 0.221 327.1);
Tailwind
colors: {
  custom: {
    50: '#ce76cc',
    500: '#b330b6',
    950: '#000000',
  },
}
SCSS
$custom: #b330b6;
$custom-light: #ce76cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b330b6",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 298.657,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56135,
    "c": 0.22086,
    "h": 327.1
  },
  "luminance": 0.15075
}

Semantic roles & 50–950 ramp

primary
#B330B6
secondary
#7CC77B
accent
#E1464A
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B330B6

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

Preview Lab → · Contrast checker → · Palette generator →

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