#B02CA3#B02CA3

#B02CA3 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.3% C 0.209 H 332.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B02CA3
RGBrgb(176, 44, 163)
HSLhsl(306, 60%, 43%)
HSVhsv(306, 75%, 69%)
CMYKcmyk(0%, 75%, 7.4%, 31%)
CIE-LABlab(43.77, 64.51, -35.18)
CIE-LCHlch(43.77, 73.48, 331.40°)
OKLaboklab(54.29% 0.1856 -0.0967)
OKLCHoklch(54.29% 0.209 332.5)
XYZxyz(25.4161, 13.6779, 35.9447)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02CA3 #2CB039
analogous
#7B2CB0 #B02CA3 #B02C61
triadic
#B02CA3 #A3B02C #2CA3B0
tetradic
#B02CA3 #B07B2C #2CB039 #2C61B0
square
#B02CA3 #B07B2C #2CB039 #2C61B0
split-complementary
#B02CA3 #61B02C #2CB07B
monochromatic
#4E1448 #7F2076 #B02CA3 #D148C4 #DD79D4

Accessibility & contrast

On white

5.62
#B02CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B02CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02CA3
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02CA3#FFFFFF#000000##FFFFFF
##B02CA31.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245CA6
Deuteranopia (green-blind)
#586EA0
Tritanopia (blue-blind)
#B83B65
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b02ca3;
/* rgb */ color: rgb(176, 44, 163);
/* oklch */ color: oklch(54.3% 0.209 332.5);
Tailwind
colors: {
  custom: {
    50: '#cb73be',
    500: '#b02ca3',
    950: '#000000',
  },
}
SCSS
$custom: #b02ca3;
$custom-light: #cb73be;
$custom-dark: #000000;
JSON
{
  "hex": "#b02ca3",
  "rgb": {
    "r": 176,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 305.909,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54294,
    "c": 0.20927,
    "h": 332.5
  },
  "luminance": 0.13676
}

Semantic roles & 50–950 ramp

primary
#B02CA3
secondary
#72C67A
accent
#E35445
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B02CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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