#B02FB8#B02FB8

#B02FB8 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.7% C 0.222 H 325.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B02FB8
RGBrgb(176, 47, 184)
HSLhsl(296, 59%, 45%)
HSVhsv(296, 74%, 72%)
CMYKcmyk(4.3%, 74.5%, 0%, 27.8%)
CIE-LABlab(45.26, 66.95, -45.24)
CIE-LCHlch(45.26, 80.81, 325.95°)
OKLaboklab(55.73% 0.1829 -0.1259)
OKLCHoklch(55.73% 0.222 325.5)
XYZxyz(27.5721, 14.7257, 46.7282)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02FB8 #37B82F
analogous
#6B2FB8 #B02FB8 #B82F7C
triadic
#B02FB8 #B8B02F #2FB8B0
tetradic
#B02FB8 #B86B2F #37B82F #2F7CB8
square
#B02FB8 #B86B2F #37B82F #2F7CB8
split-complementary
#B02FB8 #7CB82F #2FB86B
monochromatic
#531657 #812387 #B02FB8 #CB52D3 #DA82DF

Accessibility & contrast

On white

5.32
#B02FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B02FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02FB8
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02FB8#FFFFFF#000000##FFFFFF
##B02FB81.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BC
Deuteranopia (green-blind)
#4D70B5
Tritanopia (blue-blind)
#B44772
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b02fb8;
/* rgb */ color: rgb(176, 47, 184);
/* oklch */ color: oklch(55.7% 0.222 325.5);
Tailwind
colors: {
  custom: {
    50: '#cb75ce',
    500: '#b02fb8',
    950: '#000000',
  },
}
SCSS
$custom: #b02fb8;
$custom-light: #cb75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b02fb8",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 296.496,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55733,
    "c": 0.22207,
    "h": 325.5
  },
  "luminance": 0.14724
}

Semantic roles & 50–950 ramp

primary
#B02FB8
secondary
#7FC87B
accent
#E2454E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B02FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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