#B02CB0#B02CB0

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

Color values

HEX#B02CB0
RGBrgb(176, 44, 176)
HSLhsl(300, 60%, 43%)
HSVhsv(300, 75%, 69%)
CMYKcmyk(0%, 75%, 0%, 31%)
CIE-LABlab(44.47, 66.56, -41.78)
CIE-LCHlch(44.47, 78.59, 327.88°)
OKLaboklab(55.03% 0.1858 -0.1158)
OKLCHoklch(55.03% 0.219 328.1)
XYZxyz(26.6413, 14.1680, 42.3974)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02CB0 #2CB02C
analogous
#6E2CB0 #B02CB0 #B02C6E
triadic
#B02CB0 #B0B02C #2CB0B0
tetradic
#B02CB0 #B06E2C #2CB02C #2C6EB0
square
#B02CB0 #B06E2C #2CB02C #2C6EB0
split-complementary
#B02CB0 #6EB02C #2CB06E
monochromatic
#4E144E #7F207F #B02CB0 #D148D1 #DD79DD

Accessibility & contrast

On white

5.48
#B02CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B02CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02CB0
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02CB0#FFFFFF#000000##FFFFFF
##B02CB01.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5EB4
Deuteranopia (green-blind)
#516FAD
Tritanopia (blue-blind)
#B6416C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b02cb0;
/* rgb */ color: rgb(176, 44, 176);
/* oklch */ color: oklch(55.0% 0.219 328.1);
Tailwind
colors: {
  custom: {
    50: '#cb74c8',
    500: '#b02cb0',
    950: '#000000',
  },
}
SCSS
$custom: #b02cb0;
$custom-light: #cb74c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b02cb0",
  "rgb": {
    "r": 176,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 300,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55027,
    "c": 0.21891,
    "h": 328.1
  },
  "luminance": 0.14166
}

Semantic roles & 50–950 ramp

primary
#B02CB0
secondary
#72C672
accent
#E34545
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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