#B330A8#B330A8

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

Color values

HEX#B330A8
RGBrgb(179, 48, 168)
HSLhsl(305, 58%, 45%)
HSVhsv(305, 73%, 70%)
CMYKcmyk(0%, 73.2%, 6.1%, 29.8%)
CIE-LABlab(44.98, 64.68, -36.21)
CIE-LCHlch(44.98, 74.13, 330.76°)
OKLaboklab(55.35% 0.1852 -0.0996)
OKLCHoklch(55.35% 0.21 331.7)
XYZxyz(26.7153, 14.5269, 38.4351)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B330A8 #30B33B
analogous
#7D30B3 #B330A8 #B33067
triadic
#B330A8 #A8B330 #30A8B3
tetradic
#B330A8 #B37D30 #30B33B #3067B3
square
#B330A8 #B37D30 #30B33B #3067B3
split-complementary
#B330A8 #67B330 #30B37D
monochromatic
#52164D #83237B #B330A8 #D050C5 #DD80D5

Accessibility & contrast

On white

5.38
#B330A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B330A8
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B330A8#FFFFFF#000000##FFFFFF
##B330A81.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265FAB
Deuteranopia (green-blind)
#5A71A5
Tritanopia (blue-blind)
#BA3F69
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b330a8;
/* rgb */ color: rgb(179, 48, 168);
/* oklch */ color: oklch(55.3% 0.210 331.7);
Tailwind
colors: {
  custom: {
    50: '#cd76c2',
    500: '#b330a8',
    950: '#000000',
  },
}
SCSS
$custom: #b330a8;
$custom-light: #cd76c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b330a8",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 168
  },
  "hsl": {
    "h": 305.038,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55345,
    "c": 0.21028,
    "h": 331.7
  },
  "luminance": 0.14525
}

Semantic roles & 50–950 ramp

primary
#B330A8
secondary
#79C67F
accent
#E15447
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B330A8

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

Preview Lab → · Contrast checker → · Palette generator →

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