#B02DA2#B02DA2

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

Color values

HEX#B02DA2
RGBrgb(176, 45, 162)
HSLhsl(306, 59%, 43%)
HSVhsv(306, 74%, 69%)
CMYKcmyk(0%, 74.4%, 8%, 31%)
CIE-LABlab(43.83, 64.04, -34.49)
CIE-LCHlch(43.83, 72.74, 331.70°)
OKLaboklab(54.32% 0.1846 -0.0947)
OKLCHoklch(54.32% 0.208 332.8)
XYZxyz(25.3646, 13.7176, 35.4873)
Luminance0.1372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02DA2 #2DB03B
analogous
#7C2DB0 #B02DA2 #B02D60
triadic
#B02DA2 #A2B02D #2DA2B0
tetradic
#B02DA2 #B07C2D #2DB03B #2D60B0
square
#B02DA2 #B07C2D #2DB03B #2D60B0
split-complementary
#B02DA2 #60B02D #2DB07C
monochromatic
#4F1448 #7F2175 #B02DA2 #D14AC2 #DD7AD3

Accessibility & contrast

On white

5.61
#B02DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02DA2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02DA2#FFFFFF#000000##FFFFFF
##B02DA21.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265CA5
Deuteranopia (green-blind)
#596E9F
Tritanopia (blue-blind)
#B83B65
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b02da2;
/* rgb */ color: rgb(176, 45, 162);
/* oklch */ color: oklch(54.3% 0.207 332.8);
Tailwind
colors: {
  custom: {
    50: '#cb74be',
    500: '#b02da2',
    950: '#000000',
  },
}
SCSS
$custom: #b02da2;
$custom-light: #cb74be;
$custom-dark: #000000;
JSON
{
  "hex": "#b02da2",
  "rgb": {
    "r": 176,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 306.412,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54319,
    "c": 0.2075,
    "h": 332.8
  },
  "luminance": 0.13716
}

Semantic roles & 50–950 ramp

primary
#B02DA2
secondary
#73C57C
accent
#E25645
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B02DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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