#B2299E#B2299E

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

Color values

HEX#B2299E
RGBrgb(178, 41, 158)
HSLhsl(309, 63%, 43%)
HSVhsv(309, 77%, 70%)
CMYKcmyk(0%, 77%, 11.2%, 30.2%)
CIE-LABlab(43.54, 65.11, -32.52)
CIE-LCHlch(43.54, 72.78, 333.46°)
OKLaboklab(54.11% 0.19 -0.089)
OKLCHoklch(54.11% 0.21 334.9)
XYZxyz(25.3249, 13.5218, 33.6173)
Luminance0.1352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2299E #29B23D
analogous
#8129B2 #B2299E #B22959
triadic
#B2299E #9EB229 #299EB2
tetradic
#B2299E #B28129 #29B23D #2959B2
square
#B2299E #B28129 #29B23D #2959B2
split-complementary
#B2299E #59B229 #29B281
monochromatic
#4F1246 #801E72 #B2299E #D444BF #DF76D0

Accessibility & contrast

On white

5.67
#B2299E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B2299E
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2299E#FFFFFF#000000##FFFFFF
##B2299E1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285AA1
Deuteranopia (green-blind)
#5B6E9B
Tritanopia (blue-blind)
#BB3562
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b2299e;
/* rgb */ color: rgb(178, 41, 158);
/* oklch */ color: oklch(54.1% 0.210 334.9);
Tailwind
colors: {
  custom: {
    50: '#cd72bb',
    500: '#b2299e',
    950: '#000000',
  },
}
SCSS
$custom: #b2299e;
$custom-light: #cd72bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b2299e",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 308.759,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54112,
    "c": 0.20978,
    "h": 334.9
  },
  "luminance": 0.13519
}

Semantic roles & 50–950 ramp

primary
#B2299E
secondary
#70C77D
accent
#E65A42
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B2299E

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

Preview Lab → · Contrast checker → · Palette generator →

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