#B2299C#B2299C

#B2299C is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.0% C 0.208 H 335.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B2299C
RGBrgb(178, 41, 156)
HSLhsl(310, 63%, 43%)
HSVhsv(310, 77%, 70%)
CMYKcmyk(0%, 77%, 12.4%, 30.2%)
CIE-LABlab(43.44, 64.81, -31.48)
CIE-LCHlch(43.44, 72.05, 334.10°)
OKLaboklab(54.01% 0.1898 -0.086)
OKLCHoklch(54.01% 0.208 335.6)
XYZxyz(25.1542, 13.4535, 32.7180)
Luminance0.1345 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2299C #29B23F
analogous
#8329B2 #B2299C #B22957
triadic
#B2299C #9CB229 #299CB2
tetradic
#B2299C #B28329 #29B23F #2957B2
square
#B2299C #B28329 #29B23F #2957B2
split-complementary
#B2299C #57B229 #29B283
monochromatic
#4F1245 #801E70 #B2299C #D444BD #DF76CE

Accessibility & contrast

On white

5.69
#B2299C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B2299C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2299C
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2299C#FFFFFF#000000##FFFFFF
##B2299C1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5A9F
Deuteranopia (green-blind)
#5C6E99
Tritanopia (blue-blind)
#BB3461
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b2299c;
/* rgb */ color: rgb(178, 41, 156);
/* oklch */ color: oklch(54.0% 0.208 335.6);
Tailwind
colors: {
  custom: {
    50: '#cd72b9',
    500: '#b2299c',
    950: '#000000',
  },
}
SCSS
$custom: #b2299c;
$custom-light: #cd72b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b2299c",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 309.635,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54007,
    "c": 0.20839,
    "h": 335.6
  },
  "luminance": 0.13451
}

Semantic roles & 50–950 ramp

primary
#B2299C
secondary
#70C77E
accent
#E65C42
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B2299C

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

Preview Lab → · Contrast checker → · Palette generator →

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