#B5259E#B5259E

#B5259E is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.215 H 335.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B5259E
RGBrgb(181, 37, 158)
HSLhsl(310, 66%, 43%)
HSVhsv(310, 80%, 71%)
CMYKcmyk(0%, 79.6%, 12.7%, 29%)
CIE-LABlab(43.68, 66.87, -32.26)
CIE-LCHlch(43.68, 74.25, 334.24°)
OKLaboklab(54.31% 0.1962 -0.0882)
OKLCHoklch(54.31% 0.215 335.8)
XYZxyz(25.8896, 13.6179, 33.6062)
Luminance0.1362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5259E #25B53C
analogous
#8425B5 #B5259E #B52556
triadic
#B5259E #9EB525 #259EB5
tetradic
#B5259E #B58425 #25B53C #2556B5
square
#B5259E #B58425 #25B53C #2556B5
split-complementary
#B5259E #56B525 #25B584
monochromatic
#4F1045 #821B72 #B5259E #D83FBF #E272D0

Accessibility & contrast

On white

5.64
#B5259E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B5259E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5259E
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5259E#FFFFFF#000000##FFFFFF
##B5259E1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265AA1
Deuteranopia (green-blind)
#5C6F9B
Tritanopia (blue-blind)
#BE3261
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b5259e;
/* rgb */ color: rgb(181, 37, 158);
/* oklch */ color: oklch(54.3% 0.215 335.8);
Tailwind
colors: {
  custom: {
    50: '#cf71bb',
    500: '#b5259e',
    950: '#000000',
  },
}
SCSS
$custom: #b5259e;
$custom-light: #cf71bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b5259e",
  "rgb": {
    "r": 181,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 309.583,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54312,
    "c": 0.21506,
    "h": 335.8
  },
  "luminance": 0.13616
}

Semantic roles & 50–950 ramp

primary
#B5259E
secondary
#6DC97B
accent
#E95A3F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B5259E

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

Preview Lab → · Contrast checker → · Palette generator →

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