#B330B4#B330B4

#B330B4 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.219 H 327.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B330B4
RGBrgb(179, 48, 180)
HSLhsl(300, 58%, 45%)
HSVhsv(300, 73%, 71%)
CMYKcmyk(0.6%, 73.3%, 0%, 29.4%)
CIE-LABlab(45.63, 66.60, -42.28)
CIE-LCHlch(45.63, 78.89, 327.60°)
OKLaboklab(56.02% 0.1854 -0.1172)
OKLCHoklch(56.02% 0.219 327.7)
XYZxyz(27.8852, 14.9949, 44.5968)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B330B4 #31B430
analogous
#7130B4 #B330B4 #B43073
triadic
#B330B4 #B4B330 #30B4B3
tetradic
#B330B4 #B47130 #31B430 #3073B4
square
#B330B4 #B47130 #31B430 #3073B4
split-complementary
#B330B4 #73B430 #30B471
monochromatic
#531653 #832384 #B330B4 #D051D1 #DD81DD

Accessibility & contrast

On white

5.25
#B330B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B330B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B330B4
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B330B4#FFFFFF#000000##FFFFFF
##B330B41.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1261B8
Deuteranopia (green-blind)
#5372B1
Tritanopia (blue-blind)
#B84570
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b330b4;
/* rgb */ color: rgb(179, 48, 180);
/* oklch */ color: oklch(56.0% 0.219 327.7);
Tailwind
colors: {
  custom: {
    50: '#ce76cb',
    500: '#b330b4',
    950: '#000000',
  },
}
SCSS
$custom: #b330b4;
$custom-light: #ce76cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b330b4",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 299.545,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56019,
    "c": 0.21932,
    "h": 327.7
  },
  "luminance": 0.14993
}

Semantic roles & 50–950 ramp

primary
#B330B4
secondary
#7AC679
accent
#E14748
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B330B4

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

Preview Lab → · Contrast checker → · Palette generator →

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