#B2299F#B2299F

#B2299F is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.210 H 334.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B2299F
RGBrgb(178, 41, 159)
HSLhsl(308, 63%, 43%)
HSVhsv(308, 77%, 70%)
CMYKcmyk(0%, 77%, 10.7%, 30.2%)
CIE-LABlab(43.59, 65.25, -33.04)
CIE-LCHlch(43.59, 73.14, 333.14°)
OKLaboklab(54.17% 0.19 -0.0905)
OKLCHoklch(54.17% 0.21 334.5)
XYZxyz(25.4113, 13.5563, 34.0725)
Luminance0.1355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2299F #29B23C
analogous
#8029B2 #B2299F #B2295B
triadic
#B2299F #9FB229 #299FB2
tetradic
#B2299F #B28029 #29B23C #295BB2
square
#B2299F #B28029 #29B23C #295BB2
split-complementary
#B2299F #5BB229 #29B280
monochromatic
#4F1246 #801E73 #B2299F #D444C0 #DF76D1

Accessibility & contrast

On white

5.66
#B2299F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B2299F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2299F
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2299F#FFFFFF#000000##FFFFFF
##B2299F1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275AA2
Deuteranopia (green-blind)
#5B6E9C
Tritanopia (blue-blind)
#BB3662
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b2299f;
/* rgb */ color: rgb(178, 41, 159);
/* oklch */ color: oklch(54.2% 0.210 334.5);
Tailwind
colors: {
  custom: {
    50: '#cd72bc',
    500: '#b2299f',
    950: '#000000',
  },
}
SCSS
$custom: #b2299f;
$custom-light: #cd72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b2299f",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 308.321,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54165,
    "c": 0.21047,
    "h": 334.5
  },
  "luminance": 0.13554
}

Semantic roles & 50–950 ramp

primary
#B2299F
secondary
#70C77C
accent
#E65942
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B2299F

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

Preview Lab → · Contrast checker → · Palette generator →

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