#B02BD3#B02BD3

#B02BD3 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 57.2% C 0.247 H 317.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B02BD3
RGBrgb(176, 43, 211)
HSLhsl(288, 66%, 50%)
HSVhsv(288, 80%, 83%)
CMYKcmyk(16.6%, 79.6%, 0%, 17.3%)
CIE-LABlab(46.53, 72.89, -58.88)
CIE-LCHlch(46.53, 93.70, 321.07°)
OKLaboklab(57.17% 0.1834 -0.1658)
OKLCHoklch(57.17% 0.247 317.9)
XYZxyz(30.5246, 15.6624, 63.0307)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02BD3 #4ED32B
analogous
#5C2BD3 #B02BD3 #D32BA2
triadic
#B02BD3 #D3B02B #2BD3B0
tetradic
#B02BD3 #D35C2B #4ED32B #2BA2D3
square
#B02BD3 #D35C2B #4ED32B #2BA2D3
split-complementary
#B02BD3 #A2D32B #2BD35C
monochromatic
#5B166D #8621A0 #B02BD3 #C35DDE #D690E8

Accessibility & contrast

On white

5.08
#B02BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B02BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02BD3
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02BD3#FFFFFF#000000##FFFFFF
##B02BD31.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#3272CF
Tritanopia (blue-blind)
#AF5280
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b02bd3;
/* rgb */ color: rgb(176, 43, 211);
/* oklch */ color: oklch(57.2% 0.247 317.9);
Tailwind
colors: {
  custom: {
    50: '#cc75e1',
    500: '#b02bd3',
    950: '#000000',
  },
}
SCSS
$custom: #b02bd3;
$custom-light: #cc75e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b02bd3",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 211
  },
  "hsl": {
    "h": 287.5,
    "s": 66.142,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57172,
    "c": 0.24721,
    "h": 317.9
  },
  "luminance": 0.15661
}

Semantic roles & 50–950 ramp

primary
#B02BD3
secondary
#97D387
accent
#E93F62
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140915
muted
#837B83

Preview Lab

Preview with #B02BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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