#B02BC2#B02BC2

#B02BC2 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.1% C 0.234 H 322.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B02BC2
RGBrgb(176, 43, 194)
HSLhsl(293, 64%, 46%)
HSVhsv(293, 78%, 76%)
CMYKcmyk(9.3%, 77.8%, 0%, 23.9%)
CIE-LABlab(45.43, 69.88, -50.80)
CIE-LCHlch(45.43, 86.39, 323.98°)
OKLaboklab(56.05% 0.1856 -0.1421)
OKLCHoklch(56.05% 0.234 322.5)
XYZxyz(28.5050, 14.8546, 52.3943)
Luminance0.1485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02BC2 #3DC22B
analogous
#652BC2 #B02BC2 #C22B89
triadic
#B02BC2 #C2B02B #2BC2B0
tetradic
#B02BC2 #C2652B #3DC22B #2B89C2
square
#B02BC2 #C2652B #3DC22B #2B89C2
split-complementary
#B02BC2 #89C22B #2BC265
monochromatic
#55155E #832090 #B02BC2 #C852D9 #D884E4

Accessibility & contrast

On white

5.29
#B02BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B02BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02BC2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02BC2#FFFFFF#000000##FFFFFF
##B02BC21.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#4470BF
Tritanopia (blue-blind)
#B24A76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b02bc2;
/* rgb */ color: rgb(176, 43, 194);
/* oklch */ color: oklch(56.1% 0.234 322.5);
Tailwind
colors: {
  custom: {
    50: '#cc74d5',
    500: '#b02bc2',
    950: '#000000',
  },
}
SCSS
$custom: #b02bc2;
$custom-light: #cc74d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b02bc2",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 194
  },
  "hsl": {
    "h": 292.848,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56052,
    "c": 0.23374,
    "h": 322.5
  },
  "luminance": 0.14853
}

Semantic roles & 50–950 ramp

primary
#B02BC2
secondary
#86CD7C
accent
#E74155
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140914
muted
#837B83

Preview Lab

Preview with #B02BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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