#B3239E#B3239E

#B3239E is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.216 H 335.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B3239E
RGBrgb(179, 35, 158)
HSLhsl(309, 67%, 42%)
HSVhsv(309, 80%, 70%)
CMYKcmyk(0%, 80.4%, 11.7%, 29.8%)
CIE-LABlab(43.15, 66.96, -33.13)
CIE-LCHlch(43.15, 74.70, 333.68°)
OKLaboklab(53.86% 0.1958 -0.0906)
OKLCHoklch(53.86% 0.216 335.2)
XYZxyz(25.3634, 13.2567, 33.5641)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3239E #23B338
analogous
#8023B3 #B3239E #B32356
triadic
#B3239E #9EB323 #239EB3
tetradic
#B3239E #B38023 #23B338 #2356B3
square
#B3239E #B38023 #23B338 #2356B3
split-complementary
#B3239E #56B323 #23B380
monochromatic
#4D0F44 #801971 #B3239E #D93BC2 #E36ED2

Accessibility & contrast

On white

5.75
#B3239E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B3239E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3239E
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3239E#FFFFFF#000000##FFFFFF
##B3239E1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2259A1
Deuteranopia (green-blind)
#5A6D9B
Tritanopia (blue-blind)
#BC3160
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b3239e;
/* rgb */ color: rgb(179, 35, 158);
/* oklch */ color: oklch(53.9% 0.216 335.2);
Tailwind
colors: {
  custom: {
    50: '#ce70bb',
    500: '#b3239e',
    950: '#000000',
  },
}
SCSS
$custom: #b3239e;
$custom-light: #ce70bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b3239e",
  "rgb": {
    "r": 179,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 308.75,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53864,
    "c": 0.21575,
    "h": 335.2
  },
  "luminance": 0.13254
}

Semantic roles & 50–950 ramp

primary
#B3239E
secondary
#69C977
accent
#EA573E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B3239E

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

Preview Lab → · Contrast checker → · Palette generator →

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