#B0239F#B0239F

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

Color values

HEX#B0239F
RGBrgb(176, 35, 159)
HSLhsl(307, 67%, 41%)
HSVhsv(307, 80%, 69%)
CMYKcmyk(0%, 80.1%, 9.7%, 31%)
CIE-LABlab(42.67, 66.46, -34.52)
CIE-LCHlch(42.67, 74.89, 332.56°)
OKLaboklab(53.44% 0.1929 -0.0947)
OKLCHoklch(53.44% 0.215 333.8)
XYZxyz(24.7638, 12.9376, 33.9871)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0239F #23B034
analogous
#7B23B0 #B0239F #B02359
triadic
#B0239F #9FB023 #239FB0
tetradic
#B0239F #B07B23 #23B034 #2359B0
square
#B0239F #B07B23 #23B034 #2359B0
split-complementary
#B0239F #59B023 #23B07B
monochromatic
#4A0F43 #7D1971 #B0239F #D839C4 #E26CD3

Accessibility & contrast

On white

5.85
#B0239F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B0239F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0239F
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0239F#FFFFFF#000000##FFFFFF
##B0239F1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E58A2
Deuteranopia (green-blind)
#576C9C
Tritanopia (blue-blind)
#B83361
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b0239f;
/* rgb */ color: rgb(176, 35, 159);
/* oklch */ color: oklch(53.4% 0.215 333.8);
Tailwind
colors: {
  custom: {
    50: '#cc70bc',
    500: '#b0239f',
    950: '#000000',
  },
}
SCSS
$custom: #b0239f;
$custom-light: #cc70bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b0239f",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 307.234,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5344,
    "c": 0.21492,
    "h": 333.8
  },
  "luminance": 0.12935
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B0239F

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

Preview Lab → · Contrast checker → · Palette generator →

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