#B33FAB#B33FAB

#B33FAB is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.9% C 0.194 H 330.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B33FAB
RGBrgb(179, 63, 171)
HSLhsl(304, 48%, 47%)
HSVhsv(304, 65%, 70%)
CMYKcmyk(0%, 64.8%, 4.5%, 29.8%)
CIE-LABlab(47.08, 59.67, -34.68)
CIE-LCHlch(47.08, 69.02, 329.84°)
OKLaboklab(56.91% 0.1695 -0.0953)
OKLCHoklch(56.91% 0.194 330.6)
XYZxyz(27.7185, 16.0810, 40.1642)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B33FAB #3FB347
analogous
#813FB3 #B33FAB #B33F71
triadic
#B33FAB #ABB33F #3FABB3
tetradic
#B33FAB #B3813F #3FB347 #3F71B3
square
#B33FAB #B3813F #3FB347 #3F71B3
split-complementary
#B33FAB #71B33F #3FB381
monochromatic
#581F55 #862F80 #B33FAB #C966C2 #D993D4

Accessibility & contrast

On white

4.98
#B33FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#B33FAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B33FAB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B33FAB#FFFFFF#000000##FFFFFF
##B33FAB1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3665AE
Deuteranopia (green-blind)
#5F75A8
Tritanopia (blue-blind)
#BA4B6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b33fab;
/* rgb */ color: rgb(179, 63, 171);
/* oklch */ color: oklch(56.9% 0.194 330.6);
Tailwind
colors: {
  custom: {
    50: '#cd7dc4',
    500: '#b33fab',
    950: '#000000',
  },
}
SCSS
$custom: #b33fab;
$custom-light: #cd7dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#b33fab",
  "rgb": {
    "r": 179,
    "g": 63,
    "b": 171
  },
  "hsl": {
    "h": 304.138,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56911,
    "c": 0.19447,
    "h": 330.6
  },
  "luminance": 0.16079
}

Semantic roles & 50–950 ramp

primary
#B33FAB
secondary
#89C48D
accent
#D85A50
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B33FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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