#B330AF#B330AF

#B330AF is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.7% C 0.216 H 329.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B330AF
RGBrgb(179, 48, 175)
HSLhsl(302, 58%, 45%)
HSVhsv(302, 73%, 70%)
CMYKcmyk(0%, 73.2%, 2.2%, 29.8%)
CIE-LABlab(45.35, 65.79, -39.77)
CIE-LCHlch(45.35, 76.88, 328.85°)
OKLaboklab(55.73% 0.1854 -0.1099)
OKLCHoklch(55.73% 0.216 329.3)
XYZxyz(27.3850, 14.7948, 41.9625)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B330AF #30B334
analogous
#7630B3 #B330AF #B3306E
triadic
#B330AF #AFB330 #30AFB3
tetradic
#B330AF #B37630 #30B334 #306EB3
square
#B330AF #B37630 #30B334 #306EB3
split-complementary
#B330AF #6EB330 #30B376
monochromatic
#521651 #832380 #B330AF #D050CC #DD80DA

Accessibility & contrast

On white

5.30
#B330AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B330AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B330AF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B330AF#FFFFFF#000000##FFFFFF
##B330AF1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C60B2
Deuteranopia (green-blind)
#5671AC
Tritanopia (blue-blind)
#B9436D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b330af;
/* rgb */ color: rgb(179, 48, 175);
/* oklch */ color: oklch(55.7% 0.216 329.3);
Tailwind
colors: {
  custom: {
    50: '#ce76c7',
    500: '#b330af',
    950: '#000000',
  },
}
SCSS
$custom: #b330af;
$custom-light: #ce76c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b330af",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 301.832,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55733,
    "c": 0.21551,
    "h": 329.3
  },
  "luminance": 0.14793
}

Semantic roles & 50–950 ramp

primary
#B330AF
secondary
#79C67B
accent
#E14C47
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B330AF

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

Preview Lab → · Contrast checker → · Palette generator →

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