#B02CB8#B02CB8

#B02CB8 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.5% C 0.225 H 325.5°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B02CB8
RGBrgb(176, 44, 184)
HSLhsl(297, 61%, 45%)
HSVhsv(297, 76%, 72%)
CMYKcmyk(4.3%, 76.1%, 0%, 27.8%)
CIE-LABlab(44.93, 67.88, -45.76)
CIE-LCHlch(44.93, 81.87, 326.02°)
OKLaboklab(55.5% 0.1855 -0.1274)
OKLCHoklch(55.5% 0.225 325.5)
XYZxyz(27.4563, 14.4940, 46.6896)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02CB8 #34B82C
analogous
#6A2CB8 #B02CB8 #B82C7A
triadic
#B02CB8 #B8B02C #2CB8B0
tetradic
#B02CB8 #B86A2C #34B82C #2C7AB8
square
#B02CB8 #B86A2C #34B82C #2C7AB8
split-complementary
#B02CB8 #7AB82C #2CB86A
monochromatic
#521455 #812087 #B02CB8 #CD4DD4 #DB7EE0

Accessibility & contrast

On white

5.39
#B02CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B02CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02CB8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02CB8#FFFFFF#000000##FFFFFF
##B02CB81.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#4C70B5
Tritanopia (blue-blind)
#B44571
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b02cb8;
/* rgb */ color: rgb(176, 44, 184);
/* oklch */ color: oklch(55.5% 0.225 325.5);
Tailwind
colors: {
  custom: {
    50: '#cc74ce',
    500: '#b02cb8',
    950: '#000000',
  },
}
SCSS
$custom: #b02cb8;
$custom-light: #cc74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b02cb8",
  "rgb": {
    "r": 176,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 296.571,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55503,
    "c": 0.22503,
    "h": 325.5
  },
  "luminance": 0.14492
}

Semantic roles & 50–950 ramp

primary
#B02CB8
secondary
#7CC977
accent
#E5434D
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B02CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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