#B02CC2#B02CC2

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

Color values

HEX#B02CC2
RGBrgb(176, 44, 194)
HSLhsl(293, 63%, 47%)
HSVhsv(293, 77%, 76%)
CMYKcmyk(9.3%, 77.3%, 0%, 23.9%)
CIE-LABlab(45.54, 69.58, -50.64)
CIE-LCHlch(45.54, 86.06, 323.95°)
OKLaboklab(56.12% 0.1848 -0.1417)
OKLCHoklch(56.12% 0.233 322.5)
XYZxyz(28.5418, 14.9282, 52.4066)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02CC2 #3EC22C
analogous
#652CC2 #B02CC2 #C22C89
triadic
#B02CC2 #C2B02C #2CC2B0
tetradic
#B02CC2 #C2652C #3EC22C #2C89C2
square
#B02CC2 #C2652C #3EC22C #2C89C2
split-complementary
#B02CC2 #89C22C #2CC265
monochromatic
#55155E #832190 #B02CC2 #C853D8 #D885E3

Accessibility & contrast

On white

5.27
#B02CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B02CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02CC2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02CC2#FFFFFF#000000##FFFFFF
##B02CC21.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b02cc2;
/* rgb */ color: rgb(176, 44, 194);
/* oklch */ color: oklch(56.1% 0.233 322.5);
Tailwind
colors: {
  custom: {
    50: '#cc75d5',
    500: '#b02cc2',
    950: '#000000',
  },
}
SCSS
$custom: #b02cc2;
$custom-light: #cc75d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b02cc2",
  "rgb": {
    "r": 176,
    "g": 44,
    "b": 194
  },
  "hsl": {
    "h": 292.8,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56124,
    "c": 0.23282,
    "h": 322.5
  },
  "luminance": 0.14927
}

Semantic roles & 50–950 ramp

primary
#B02CC2
secondary
#87CD7D
accent
#E64255
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140914
muted
#837B83

Preview Lab

Preview with #B02CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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