#B02DA8#B02DA8

#B02DA8 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.6% C 0.212 H 330.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B02DA8
RGBrgb(176, 45, 168)
HSLhsl(304, 59%, 43%)
HSVhsv(304, 74%, 69%)
CMYKcmyk(0%, 74.4%, 4.5%, 31%)
CIE-LABlab(44.14, 64.97, -37.57)
CIE-LCHlch(44.14, 75.05, 329.96°)
OKLaboklab(54.65% 0.1848 -0.1036)
OKLCHoklch(54.65% 0.212 330.7)
XYZxyz(25.9107, 13.9361, 38.3635)
Luminance0.1393 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02DA8 #2DB035
analogous
#762DB0 #B02DA8 #B02D66
triadic
#B02DA8 #A8B02D #2DA8B0
tetradic
#B02DA8 #B0762D #2DB035 #2D66B0
square
#B02DA8 #B0762D #2DB035 #2D66B0
split-complementary
#B02DA8 #66B02D #2DB076
monochromatic
#4F144B #7F2179 #B02DA8 #D14AC8 #DD7AD7

Accessibility & contrast

On white

5.55
#B02DA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B02DA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02DA8
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02DA8#FFFFFF#000000##FFFFFF
##B02DA81.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5DAB
Deuteranopia (green-blind)
#566FA5
Tritanopia (blue-blind)
#B73E68
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b02da8;
/* rgb */ color: rgb(176, 45, 168);
/* oklch */ color: oklch(54.6% 0.212 330.7);
Tailwind
colors: {
  custom: {
    50: '#cb74c2',
    500: '#b02da8',
    950: '#000000',
  },
}
SCSS
$custom: #b02da8;
$custom-light: #cb74c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b02da8",
  "rgb": {
    "r": 176,
    "g": 45,
    "b": 168
  },
  "hsl": {
    "h": 303.664,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54648,
    "c": 0.2119,
    "h": 330.7
  },
  "luminance": 0.13934
}

Semantic roles & 50–950 ramp

primary
#B02DA8
secondary
#73C578
accent
#E24F45
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B02DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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