#B025A7#B025A7

#B025A7 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.219 H 331.1°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B025A7
RGBrgb(176, 37, 167)
HSLhsl(304, 65%, 42%)
HSVhsv(304, 79%, 69%)
CMYKcmyk(0%, 79%, 5.1%, 31%)
CIE-LABlab(43.28, 67.14, -38.34)
CIE-LCHlch(43.28, 77.31, 330.27°)
OKLaboklab(54.01% 0.1915 -0.1058)
OKLCHoklch(54.01% 0.219 331.1)
XYZxyz(25.5411, 13.3454, 37.7824)
Luminance0.1334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B025A7 #25B02E
analogous
#7425B0 #B025A7 #B02562
triadic
#B025A7 #A7B025 #25A7B0
tetradic
#B025A7 #B07425 #25B02E #2562B0
square
#B025A7 #B07425 #25B02E #2562B0
split-complementary
#B025A7 #62B025 #25B074
monochromatic
#4B1047 #7D1A77 #B025A7 #D63CCC #E16FD9

Accessibility & contrast

On white

5.72
#B025A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B025A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B025A7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B025A7#FFFFFF#000000##FFFFFF
##B025A71.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135AAA
Deuteranopia (green-blind)
#536DA4
Tritanopia (blue-blind)
#B73866
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b025a7;
/* rgb */ color: rgb(176, 37, 167);
/* oklch */ color: oklch(54.0% 0.219 331.1);
Tailwind
colors: {
  custom: {
    50: '#cc71c1',
    500: '#b025a7',
    950: '#000000',
  },
}
SCSS
$custom: #b025a7;
$custom-light: #cc71c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b025a7",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 303.885,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54014,
    "c": 0.21881,
    "h": 331.1
  },
  "luminance": 0.13343
}

Semantic roles & 50–950 ramp

primary
#B025A7
secondary
#6AC770
accent
#E84A40
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B025A7

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

Preview Lab → · Contrast checker → · Palette generator →

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