#B330B5#B330B5

#B330B5 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.1% C 0.220 H 327.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B330B5
RGBrgb(179, 48, 181)
HSLhsl(299, 58%, 45%)
HSVhsv(299, 73%, 71%)
CMYKcmyk(1.1%, 73.5%, 0%, 29%)
CIE-LABlab(45.68, 66.77, -42.77)
CIE-LCHlch(45.68, 79.29, 327.35°)
OKLaboklab(56.08% 0.1854 -0.1187)
OKLCHoklch(56.08% 0.22 327.4)
XYZxyz(27.9874, 15.0358, 45.1352)
Luminance0.1503 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B330B5 #32B530
analogous
#7130B5 #B330B5 #B53074
triadic
#B330B5 #B5B330 #30B5B3
tetradic
#B330B5 #B57130 #32B530 #3074B5
square
#B330B5 #B57130 #32B530 #3074B5
split-complementary
#B330B5 #74B530 #30B571
monochromatic
#531654 #832385 #B330B5 #CF51D1 #DC82DE

Accessibility & contrast

On white

5.24
#B330B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B330B5
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B330B5#FFFFFF#000000##FFFFFF
##B330B51.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1061B9
Deuteranopia (green-blind)
#5372B2
Tritanopia (blue-blind)
#B84570
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b330b5;
/* rgb */ color: rgb(179, 48, 181);
/* oklch */ color: oklch(56.1% 0.220 327.4);
Tailwind
colors: {
  custom: {
    50: '#ce76cc',
    500: '#b330b5',
    950: '#000000',
  },
}
SCSS
$custom: #b330b5;
$custom-light: #ce76cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b330b5",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 299.098,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56077,
    "c": 0.22009,
    "h": 327.4
  },
  "luminance": 0.15034
}

Semantic roles & 50–950 ramp

primary
#B330B5
secondary
#7BC77A
accent
#E14649
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B330B5

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

Preview Lab → · Contrast checker → · Palette generator →

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