#B330B9#B330B9

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

Color values

HEX#B330B9
RGBrgb(179, 48, 185)
HSLhsl(297, 59%, 46%)
HSVhsv(297, 74%, 73%)
CMYKcmyk(3.2%, 74.1%, 0%, 27.5%)
CIE-LABlab(45.91, 67.43, -44.76)
CIE-LCHlch(45.91, 80.93, 326.42°)
OKLaboklab(56.31% 0.1853 -0.1244)
OKLCHoklch(56.31% 0.223 326.1)
XYZxyz(28.4038, 15.2023, 47.3278)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B330B9 #36B930
analogous
#6E30B9 #B330B9 #B9307A
triadic
#B330B9 #B9B330 #30B9B3
tetradic
#B330B9 #B96E30 #36B930 #307AB9
square
#B330B9 #B96E30 #36B930 #307AB9
split-complementary
#B330B9 #7AB930 #30B96E
monochromatic
#551758 #842388 #B330B9 #CD54D3 #DB84DF

Accessibility & contrast

On white

5.20
#B330B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B330B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B330B9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B330B9#FFFFFF#000000##FFFFFF
##B330B91.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0162BD
Deuteranopia (green-blind)
#5072B6
Tritanopia (blue-blind)
#B84773
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b330b9;
/* rgb */ color: rgb(179, 48, 185);
/* oklch */ color: oklch(56.3% 0.223 326.1);
Tailwind
colors: {
  custom: {
    50: '#ce76ce',
    500: '#b330b9',
    950: '#000000',
  },
}
SCSS
$custom: #b330b9;
$custom-light: #ce76ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b330b9",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 185
  },
  "hsl": {
    "h": 297.372,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56312,
    "c": 0.22317,
    "h": 326.1
  },
  "luminance": 0.152
}

Semantic roles & 50–950 ramp

primary
#B330B9
secondary
#80C97C
accent
#E2464D
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B330B9

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

Preview Lab → · Contrast checker → · Palette generator →

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