#B330B7#B330B7

#B330B7 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.2% C 0.222 H 326.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B330B7
RGBrgb(179, 48, 183)
HSLhsl(298, 58%, 45%)
HSVhsv(298, 74%, 72%)
CMYKcmyk(2.2%, 73.8%, 0%, 28.2%)
CIE-LABlab(45.80, 67.10, -43.77)
CIE-LCHlch(45.80, 80.11, 326.88°)
OKLaboklab(56.19% 0.1853 -0.1215)
OKLCHoklch(56.19% 0.222 326.7)
XYZxyz(28.1941, 15.1185, 46.2237)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B330B7 #34B730
analogous
#6F30B7 #B330B7 #B73078
triadic
#B330B7 #B7B330 #30B7B3
tetradic
#B330B7 #B76F30 #34B730 #3078B7
square
#B330B7 #B76F30 #34B730 #3078B7
split-complementary
#B330B7 #78B730 #30B76F
monochromatic
#541756 #842387 #B330B7 #CE52D2 #DC83DE

Accessibility & contrast

On white

5.22
#B330B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B330B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B330B7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B330B7#FFFFFF#000000##FFFFFF
##B330B71.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0962BB
Deuteranopia (green-blind)
#5172B4
Tritanopia (blue-blind)
#B84671
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b330b7;
/* rgb */ color: rgb(179, 48, 183);
/* oklch */ color: oklch(56.2% 0.222 326.7);
Tailwind
colors: {
  custom: {
    50: '#ce76cd',
    500: '#b330b7',
    950: '#000000',
  },
}
SCSS
$custom: #b330b7;
$custom-light: #ce76cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b330b7",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 298.222,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56194,
    "c": 0.22163,
    "h": 326.7
  },
  "luminance": 0.15117
}

Semantic roles & 50–950 ramp

primary
#B330B7
secondary
#7DC87B
accent
#E2464B
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B330B7

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

Preview Lab → · Contrast checker → · Palette generator →

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