#B0259E#B0259E

#B0259E is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.212 H 334.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B0259E
RGBrgb(176, 37, 158)
HSLhsl(308, 65%, 42%)
HSVhsv(308, 79%, 69%)
CMYKcmyk(0%, 79%, 10.2%, 31%)
CIE-LABlab(42.80, 65.79, -33.71)
CIE-LCHlch(42.80, 73.92, 332.87°)
OKLaboklab(53.52% 0.1913 -0.0924)
OKLCHoklch(53.52% 0.212 334.2)
XYZxyz(24.7379, 13.0241, 33.5522)
Luminance0.1302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0259E #25B037
analogous
#7D25B0 #B0259E #B02559
triadic
#B0259E #9EB025 #259EB0
tetradic
#B0259E #B07D25 #25B037 #2559B0
square
#B0259E #B07D25 #25B037 #2559B0
split-complementary
#B0259E #59B025 #25B07D
monochromatic
#4B1043 #7D1A71 #B0259E #D63CC2 #E16FD2

Accessibility & contrast

On white

5.83
#B0259E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B0259E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0259E
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0259E#FFFFFF#000000##FFFFFF
##B0259E1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2158A1
Deuteranopia (green-blind)
#586C9B
Tritanopia (blue-blind)
#B93361
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b0259e;
/* rgb */ color: rgb(176, 37, 158);
/* oklch */ color: oklch(53.5% 0.212 334.2);
Tailwind
colors: {
  custom: {
    50: '#cc71bb',
    500: '#b0259e',
    950: '#000000',
  },
}
SCSS
$custom: #b0259e;
$custom-light: #cc71bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b0259e",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 307.77,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53516,
    "c": 0.21248,
    "h": 334.2
  },
  "luminance": 0.13022
}

Semantic roles & 50–950 ramp

primary
#B0259E
secondary
#6AC776
accent
#E85540
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B0259E

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

Preview Lab → · Contrast checker → · Palette generator →

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