#B330B3#B330B3

#B330B3 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.219 H 328.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B330B3
RGBrgb(179, 48, 179)
HSLhsl(300, 58%, 45%)
HSVhsv(300, 73%, 70%)
CMYKcmyk(0%, 73.2%, 0%, 29.8%)
CIE-LABlab(45.57, 66.44, -41.78)
CIE-LCHlch(45.57, 78.48, 327.84°)
OKLaboklab(55.96% 0.1854 -0.1158)
OKLCHoklch(55.96% 0.219 328)
XYZxyz(27.7837, 14.9543, 44.0622)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B330B3 #30B330
analogous
#7230B3 #B330B3 #B33072
triadic
#B330B3 #B3B330 #30B3B3
tetradic
#B330B3 #B37230 #30B330 #3072B3
square
#B330B3 #B37230 #30B330 #3072B3
split-complementary
#B330B3 #72B330 #30B372
monochromatic
#521652 #832383 #B330B3 #D050D0 #DD80DD

Accessibility & contrast

On white

5.26
#B330B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B330B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B330B3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B330B3#FFFFFF#000000##FFFFFF
##B330B31.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1561B7
Deuteranopia (green-blind)
#5472B0
Tritanopia (blue-blind)
#B9456F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b330b3;
/* rgb */ color: rgb(179, 48, 179);
/* oklch */ color: oklch(56.0% 0.219 328.0);
Tailwind
colors: {
  custom: {
    50: '#ce76ca',
    500: '#b330b3',
    950: '#000000',
  },
}
SCSS
$custom: #b330b3;
$custom-light: #ce76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b330b3",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 300,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55961,
    "c": 0.21855,
    "h": 328
  },
  "luminance": 0.14952
}

Semantic roles & 50–950 ramp

primary
#B330B3
secondary
#79C679
accent
#E14747
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B330B3

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

Preview Lab → · Contrast checker → · Palette generator →

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