#B330B8#B330B8

#B330B8 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.3% C 0.222 H 326.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B330B8
RGBrgb(179, 48, 184)
HSLhsl(298, 59%, 45%)
HSVhsv(298, 74%, 72%)
CMYKcmyk(2.7%, 73.9%, 0%, 27.8%)
CIE-LABlab(45.85, 67.26, -44.26)
CIE-LCHlch(45.85, 80.52, 326.65°)
OKLaboklab(56.25% 0.1853 -0.123)
OKLCHoklch(56.25% 0.222 326.4)
XYZxyz(28.2986, 15.1602, 46.7738)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B330B8 #35B830
analogous
#6F30B8 #B330B8 #B83079
triadic
#B330B8 #B8B330 #30B8B3
tetradic
#B330B8 #B86F30 #35B830 #3079B8
square
#B330B8 #B86F30 #35B830 #3079B8
split-complementary
#B330B8 #79B830 #30B86F
monochromatic
#551757 #842387 #B330B8 #CD53D2 #DB84DF

Accessibility & contrast

On white

5.21
#B330B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B330B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B330B8
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B330B8#FFFFFF#000000##FFFFFF
##B330B81.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0562BC
Deuteranopia (green-blind)
#5172B5
Tritanopia (blue-blind)
#B84772
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b330b8;
/* rgb */ color: rgb(179, 48, 184);
/* oklch */ color: oklch(56.3% 0.222 326.4);
Tailwind
colors: {
  custom: {
    50: '#ce76ce',
    500: '#b330b8',
    950: '#000000',
  },
}
SCSS
$custom: #b330b8;
$custom-light: #ce76ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b330b8",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 297.794,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56253,
    "c": 0.2224,
    "h": 326.4
  },
  "luminance": 0.15158
}

Semantic roles & 50–950 ramp

primary
#B330B8
secondary
#7FC87C
accent
#E2464C
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B330B8

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

Preview Lab → · Contrast checker → · Palette generator →

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