#B02FAC#B02FAC

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

Color values

HEX#B02FAC
RGBrgb(176, 47, 172)
HSLhsl(302, 58%, 44%)
HSVhsv(302, 73%, 69%)
CMYKcmyk(0%, 73.3%, 2.3%, 31%)
CIE-LABlab(44.58, 64.97, -39.25)
CIE-LCHlch(44.58, 75.91, 328.87°)
OKLaboklab(55.03% 0.1831 -0.1085)
OKLCHoklch(55.03% 0.213 329.4)
XYZxyz(26.3672, 14.2437, 40.3823)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02FAC #2FB033
analogous
#732FB0 #B02FAC #B02F6B
triadic
#B02FAC #ACB02F #2FACB0
tetradic
#B02FAC #B0732F #2FB033 #2F6BB0
square
#B02FAC #B0732F #2FB033 #2F6BB0
split-complementary
#B02FAC #6BB02F #2FB073
monochromatic
#4F154E #80227D #B02FAC #CF4DCB #DC7DD9

Accessibility & contrast

On white

5.46
#B02FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B02FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02FAC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02FAC#FFFFFF#000000##FFFFFF
##B02FAC1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5EAF
Deuteranopia (green-blind)
#556FA9
Tritanopia (blue-blind)
#B6416B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b02fac;
/* rgb */ color: rgb(176, 47, 172);
/* oklch */ color: oklch(55.0% 0.213 329.4);
Tailwind
colors: {
  custom: {
    50: '#cb75c5',
    500: '#b02fac',
    950: '#000000',
  },
}
SCSS
$custom: #b02fac;
$custom-light: #cb75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b02fac",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 301.86,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55032,
    "c": 0.21281,
    "h": 329.4
  },
  "luminance": 0.14242
}

Semantic roles & 50–950 ramp

primary
#B02FAC
secondary
#76C578
accent
#E14C47
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #B02FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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