#B2299D#B2299D

#B2299D is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.1% C 0.209 H 335.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B2299D
RGBrgb(178, 41, 157)
HSLhsl(309, 63%, 43%)
HSVhsv(309, 77%, 70%)
CMYKcmyk(0%, 77%, 11.8%, 30.2%)
CIE-LABlab(43.49, 64.96, -32.00)
CIE-LCHlch(43.49, 72.41, 333.77°)
OKLaboklab(54.06% 0.1899 -0.0875)
OKLCHoklch(54.06% 0.209 335.3)
XYZxyz(25.2392, 13.4875, 33.1658)
Luminance0.1348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2299D #29B23E
analogous
#8229B2 #B2299D #B22958
triadic
#B2299D #9DB229 #299DB2
tetradic
#B2299D #B28229 #29B23E #2958B2
square
#B2299D #B28229 #29B23E #2958B2
split-complementary
#B2299D #58B229 #29B282
monochromatic
#4F1245 #801E71 #B2299D #D444BE #DF76CF

Accessibility & contrast

On white

5.68
#B2299D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B2299D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2299D
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2299D#FFFFFF#000000##FFFFFF
##B2299D1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295AA0
Deuteranopia (green-blind)
#5B6E9A
Tritanopia (blue-blind)
#BB3561
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b2299d;
/* rgb */ color: rgb(178, 41, 157);
/* oklch */ color: oklch(54.1% 0.209 335.3);
Tailwind
colors: {
  custom: {
    50: '#cd72ba',
    500: '#b2299d',
    950: '#000000',
  },
}
SCSS
$custom: #b2299d;
$custom-light: #cd72ba;
$custom-dark: #000000;
JSON
{
  "hex": "#b2299d",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 309.197,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5406,
    "c": 0.20909,
    "h": 335.3
  },
  "luminance": 0.13485
}

Semantic roles & 50–950 ramp

primary
#B2299D
secondary
#70C77D
accent
#E65B42
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B2299D

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

Preview Lab → · Contrast checker → · Palette generator →

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