#B02FBC#B02FBC

#B02FBC is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.0% C 0.225 H 324.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B02FBC
RGBrgb(176, 47, 188)
HSLhsl(295, 60%, 46%)
HSVhsv(295, 75%, 74%)
CMYKcmyk(6.4%, 75%, 0%, 26.3%)
CIE-LABlab(45.49, 67.63, -47.21)
CIE-LCHlch(45.49, 82.48, 325.08°)
OKLaboklab(55.98% 0.1827 -0.1317)
OKLCHoklch(55.98% 0.225 324.2)
XYZxyz(27.9973, 14.8957, 48.9677)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02FBC #3BBC2F
analogous
#692FBC #B02FBC #BC2F81
triadic
#B02FBC #BCB02F #2FBCB0
tetradic
#B02FBC #BC692F #3BBC2F #2F81BC
square
#B02FBC #BC692F #3BBC2F #2F81BC
split-complementary
#B02FBC #81BC2F #2FBC69
monochromatic
#54175A #82238B #B02FBC #C954D4 #D985E0

Accessibility & contrast

On white

5.28
#B02FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B02FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02FBC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02FBC#FFFFFF#000000##FFFFFF
##B02FBC1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#4A71B9
Tritanopia (blue-blind)
#B34974
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b02fbc;
/* rgb */ color: rgb(176, 47, 188);
/* oklch */ color: oklch(56.0% 0.225 324.2);
Tailwind
colors: {
  custom: {
    50: '#cc76d1',
    500: '#b02fbc',
    950: '#000000',
  },
}
SCSS
$custom: #b02fbc;
$custom-light: #cc76d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b02fbc",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 294.894,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55976,
    "c": 0.22521,
    "h": 324.2
  },
  "luminance": 0.14894
}

Semantic roles & 50–950 ramp

primary
#B02FBC
secondary
#83CA7D
accent
#E34552
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B02FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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