#B02FB3#B02FB3

#B02FB3 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.4% C 0.218 H 327.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B02FB3
RGBrgb(176, 47, 179)
HSLhsl(299, 58%, 44%)
HSVhsv(299, 74%, 70%)
CMYKcmyk(1.7%, 73.7%, 0%, 29.8%)
CIE-LABlab(44.97, 66.12, -42.76)
CIE-LCHlch(44.97, 78.74, 327.11°)
OKLaboklab(55.44% 0.1831 -0.1187)
OKLCHoklch(55.44% 0.218 327)
XYZxyz(27.0573, 14.5197, 44.0166)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02FB3 #32B32F
analogous
#6E2FB3 #B02FB3 #B32F74
triadic
#B02FB3 #B3B02F #2FB3B0
tetradic
#B02FB3 #B36E2F #32B32F #2F74B3
square
#B02FB3 #B36E2F #32B32F #2F74B3
split-complementary
#B02FB3 #74B32F #2FB36E
monochromatic
#511652 #802283 #B02FB3 #CE4FD1 #DB7FDD

Accessibility & contrast

On white

5.38
#B02FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B02FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02FB3
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02FB3#FFFFFF#000000##FFFFFF
##B02FB31.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C60B7
Deuteranopia (green-blind)
#5070B0
Tritanopia (blue-blind)
#B5456F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b02fb3;
/* rgb */ color: rgb(176, 47, 179);
/* oklch */ color: oklch(55.4% 0.218 327.0);
Tailwind
colors: {
  custom: {
    50: '#cb75ca',
    500: '#b02fb3',
    950: '#000000',
  },
}
SCSS
$custom: #b02fb3;
$custom-light: #cb75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b02fb3",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 298.636,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55436,
    "c": 0.21818,
    "h": 327
  },
  "luminance": 0.14518
}

Semantic roles & 50–950 ramp

primary
#B02FB3
secondary
#79C678
accent
#E2464A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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