#B330A7#B330A7

#B330A7 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.3% C 0.210 H 332.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B330A7
RGBrgb(179, 48, 167)
HSLhsl(305, 58%, 45%)
HSVhsv(305, 73%, 70%)
CMYKcmyk(0%, 73.2%, 6.7%, 29.8%)
CIE-LABlab(44.93, 64.53, -35.70)
CIE-LCHlch(44.93, 73.74, 331.05°)
OKLaboklab(55.29% 0.1851 -0.0981)
OKLCHoklch(55.29% 0.21 332.1)
XYZxyz(26.6225, 14.4898, 37.9464)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B330A7 #30B33C
analogous
#7E30B3 #B330A7 #B33066
triadic
#B330A7 #A7B330 #30A7B3
tetradic
#B330A7 #B37E30 #30B33C #3066B3
square
#B330A7 #B37E30 #30B33C #3066B3
split-complementary
#B330A7 #66B330 #30B37E
monochromatic
#52164D #83237A #B330A7 #D050C4 #DD80D5

Accessibility & contrast

On white

5.39
#B330A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B330A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B330A7
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B330A7#FFFFFF#000000##FFFFFF
##B330A71.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275FAA
Deuteranopia (green-blind)
#5A71A4
Tritanopia (blue-blind)
#BB3F69
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b330a7;
/* rgb */ color: rgb(179, 48, 167);
/* oklch */ color: oklch(55.3% 0.210 332.1);
Tailwind
colors: {
  custom: {
    50: '#cd76c1',
    500: '#b330a7',
    950: '#000000',
  },
}
SCSS
$custom: #b330a7;
$custom-light: #cd76c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b330a7",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 167
  },
  "hsl": {
    "h": 305.496,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55291,
    "c": 0.20954,
    "h": 332.1
  },
  "luminance": 0.14488
}

Semantic roles & 50–950 ramp

primary
#B330A7
secondary
#79C680
accent
#E15547
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B330A7

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

Preview Lab → · Contrast checker → · Palette generator →

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