#B02CA1#B02CA1

#B02CA1 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.208 H 333.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B02CA1
RGBrgb(176, 44, 161)
HSLhsl(307, 60%, 43%)
HSVhsv(307, 75%, 69%)
CMYKcmyk(0%, 75%, 8.5%, 31%)
CIE-LABlab(43.66, 64.20, -34.15)
CIE-LCHlch(43.66, 72.72, 331.99°)
OKLaboklab(54.19% 0.1855 -0.0937)
OKLCHoklch(54.19% 0.208 333.2)
XYZxyz(25.2384, 13.6068, 35.0084)
Luminance0.1361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02CA1 #2CB03B
analogous
#7D2CB0 #B02CA1 #B02C5F
triadic
#B02CA1 #A1B02C #2CA1B0
tetradic
#B02CA1 #B07D2C #2CB03B #2C5FB0
square
#B02CA1 #B07D2C #2CB03B #2C5FB0
split-complementary
#B02CA1 #5FB02C #2CB07D
monochromatic
#4E1447 #7F2074 #B02CA1 #D148C2 #DD79D2

Accessibility & contrast

On white

5.64
#B02CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B02CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02CA1
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02CA1#FFFFFF#000000##FFFFFF
##B02CA11.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265BA4
Deuteranopia (green-blind)
#596E9E
Tritanopia (blue-blind)
#B83A64
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b02ca1;
/* rgb */ color: rgb(176, 44, 161);
/* oklch */ color: oklch(54.2% 0.208 333.2);
Tailwind
colors: {
  custom: {
    50: '#cb73bd',
    500: '#b02ca1',
    950: '#000000',
  },
}
SCSS
$custom: #b02ca1;
$custom-light: #cb73bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ca1",
  "rgb": {
    "r": 176,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 306.818,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54186,
    "c": 0.20783,
    "h": 333.2
  },
  "luminance": 0.13605
}

Semantic roles & 50–950 ramp

primary
#B02CA1
secondary
#72C67C
accent
#E35745
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B02CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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