#B02F9F#B02F9F

#B02F9F is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.3% C 0.203 H 334.0°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B02F9F
RGBrgb(176, 47, 159)
HSLhsl(308, 58%, 44%)
HSVhsv(308, 73%, 69%)
CMYKcmyk(0%, 73.3%, 9.7%, 31%)
CIE-LABlab(43.90, 62.94, -32.58)
CIE-LCHlch(43.90, 70.87, 332.63°)
OKLaboklab(54.32% 0.1826 -0.0892)
OKLCHoklch(54.32% 0.203 334)
XYZxyz(25.1792, 13.7685, 34.1256)
Luminance0.1377 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02F9F #2FB040
analogous
#802FB0 #B02F9F #B02F5E
triadic
#B02F9F #9FB02F #2F9FB0
tetradic
#B02F9F #B0802F #2FB040 #2F5EB0
square
#B02F9F #B0802F #2FB040 #2F5EB0
split-complementary
#B02F9F #5EB02F #2FB080
monochromatic
#4F1548 #802273 #B02F9F #CF4DBE #DC7DD0

Accessibility & contrast

On white

5.60
#B02F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#B02F9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02F9F
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02F9F#FFFFFF#000000##FFFFFF
##B02F9F1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5CA2
Deuteranopia (green-blind)
#5B6E9C
Tritanopia (blue-blind)
#B83B64
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b02f9f;
/* rgb */ color: rgb(176, 47, 159);
/* oklch */ color: oklch(54.3% 0.203 334.0);
Tailwind
colors: {
  custom: {
    50: '#cb74bc',
    500: '#b02f9f',
    950: '#000000',
  },
}
SCSS
$custom: #b02f9f;
$custom-light: #cb74bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b02f9f",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 307.907,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54322,
    "c": 0.20319,
    "h": 334
  },
  "luminance": 0.13766
}

Semantic roles & 50–950 ramp

primary
#B02F9F
secondary
#76C580
accent
#E15B47
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #B02F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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