#B02CB7#B02CB7

#B02CB7 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.4% C 0.224 H 325.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B02CB7
RGBrgb(176, 44, 183)
HSLhsl(297, 61%, 45%)
HSVhsv(297, 76%, 72%)
CMYKcmyk(3.8%, 76%, 0%, 28.2%)
CIE-LABlab(44.87, 67.72, -45.27)
CIE-LCHlch(44.87, 81.45, 326.24°)
OKLaboklab(55.44% 0.1855 -0.126)
OKLCHoklch(55.44% 0.224 325.8)
XYZxyz(27.3519, 14.4522, 46.1395)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02CB7 #33B72C
analogous
#6A2CB7 #B02CB7 #B72C79
triadic
#B02CB7 #B7B02C #2CB7B0
tetradic
#B02CB7 #B76A2C #33B72C #2C79B7
square
#B02CB7 #B76A2C #33B72C #2C79B7
split-complementary
#B02CB7 #79B72C #2CB76A
monochromatic
#511454 #812086 #B02CB7 #CD4CD4 #DB7EE0

Accessibility & contrast

On white

5.40
#B02CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B02CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02CB7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02CB7#FFFFFF#000000##FFFFFF
##B02CB71.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#4C70B4
Tritanopia (blue-blind)
#B44570
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b02cb7;
/* rgb */ color: rgb(176, 44, 183);
/* oklch */ color: oklch(55.4% 0.224 325.8);
Tailwind
colors: {
  custom: {
    50: '#cc74cd',
    500: '#b02cb7',
    950: '#000000',
  },
}
SCSS
$custom: #b02cb7;
$custom-light: #cc74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b02cb7",
  "rgb": {
    "r": 176,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 296.978,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55442,
    "c": 0.22425,
    "h": 325.8
  },
  "luminance": 0.1445
}

Semantic roles & 50–950 ramp

primary
#B02CB7
secondary
#7BC876
accent
#E4434C
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B02CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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