#B0239E#B0239E

#B0239E is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.214 H 334.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B0239E
RGBrgb(176, 35, 158)
HSLhsl(308, 67%, 41%)
HSVhsv(308, 80%, 69%)
CMYKcmyk(0%, 80.1%, 10.2%, 31%)
CIE-LABlab(42.62, 66.32, -34.00)
CIE-LCHlch(42.62, 74.52, 332.86°)
OKLaboklab(53.39% 0.1929 -0.0932)
OKLCHoklch(53.39% 0.214 334.2)
XYZxyz(24.6774, 12.9030, 33.5320)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0239E #23B035
analogous
#7C23B0 #B0239E #B02357
triadic
#B0239E #9EB023 #239EB0
tetradic
#B0239E #B07C23 #23B035 #2357B0
square
#B0239E #B07C23 #23B035 #2357B0
split-complementary
#B0239E #57B023 #23B07C
monochromatic
#4A0F42 #7D1970 #B0239E #D839C3 #E26CD3

Accessibility & contrast

On white

5.87
#B0239E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B0239E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0239E
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0239E#FFFFFF#000000##FFFFFF
##B0239E1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F58A1
Deuteranopia (green-blind)
#576C9B
Tritanopia (blue-blind)
#B93260
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b0239e;
/* rgb */ color: rgb(176, 35, 158);
/* oklch */ color: oklch(53.4% 0.214 334.2);
Tailwind
colors: {
  custom: {
    50: '#cc70bb',
    500: '#b0239e',
    950: '#000000',
  },
}
SCSS
$custom: #b0239e;
$custom-light: #cc70bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b0239e",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 307.66,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53386,
    "c": 0.21424,
    "h": 334.2
  },
  "luminance": 0.12901
}

Semantic roles & 50–950 ramp

primary
#B0239E
secondary
#67C873
accent
#EA543E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B0239E

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

Preview Lab → · Contrast checker → · Palette generator →

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