#B02FAB#B02FAB

#B02FAB is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.0% C 0.212 H 329.7°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B02FAB
RGBrgb(176, 47, 171)
HSLhsl(302, 58%, 44%)
HSVhsv(302, 73%, 69%)
CMYKcmyk(0%, 73.3%, 2.8%, 31%)
CIE-LABlab(44.53, 64.81, -38.74)
CIE-LCHlch(44.53, 75.51, 329.13°)
OKLaboklab(54.98% 0.1831 -0.107)
OKLCHoklch(54.98% 0.212 329.7)
XYZxyz(26.2715, 14.2054, 39.8784)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02FAB #2FB034
analogous
#742FB0 #B02FAB #B02F6A
triadic
#B02FAB #ABB02F #2FABB0
tetradic
#B02FAB #B0742F #2FB034 #2F6AB0
square
#B02FAB #B0742F #2FB034 #2F6AB0
split-complementary
#B02FAB #6AB02F #2FB074
monochromatic
#4F154D #80227C #B02FAB #CF4DCA #DC7DD9

Accessibility & contrast

On white

5.47
#B02FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B02FAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02FAB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02FAB#FFFFFF#000000##FFFFFF
##B02FAB1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5EAE
Deuteranopia (green-blind)
#556FA8
Tritanopia (blue-blind)
#B6416A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b02fab;
/* rgb */ color: rgb(176, 47, 171);
/* oklch */ color: oklch(55.0% 0.212 329.7);
Tailwind
colors: {
  custom: {
    50: '#cb75c4',
    500: '#b02fab',
    950: '#000000',
  },
}
SCSS
$custom: #b02fab;
$custom-light: #cb75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b02fab",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 302.326,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54976,
    "c": 0.21206,
    "h": 329.7
  },
  "luminance": 0.14203
}

Semantic roles & 50–950 ramp

primary
#B02FAB
secondary
#76C579
accent
#E14D47
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #B02FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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