#B025A1#B025A1

#B025A1 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.215 H 333.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B025A1
RGBrgb(176, 37, 161)
HSLhsl(306, 65%, 42%)
HSVhsv(306, 79%, 69%)
CMYKcmyk(0%, 79%, 8.5%, 31%)
CIE-LABlab(42.96, 66.23, -35.26)
CIE-LCHlch(42.96, 75.04, 331.97°)
OKLaboklab(53.68% 0.1915 -0.0969)
OKLCHoklch(53.68% 0.215 333.2)
XYZxyz(24.9993, 13.1286, 34.9287)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B025A1 #25B034
analogous
#7A25B0 #B025A1 #B0255C
triadic
#B025A1 #A1B025 #25A1B0
tetradic
#B025A1 #B07A25 #25B034 #255CB0
square
#B025A1 #B07A25 #25B034 #255CB0
split-complementary
#B025A1 #5CB025 #25B07A
monochromatic
#4B1044 #7D1A73 #B025A1 #D63CC5 #E16FD4

Accessibility & contrast

On white

5.79
#B025A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B025A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B025A1
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B025A1#FFFFFF#000000##FFFFFF
##B025A11.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D59A4
Deuteranopia (green-blind)
#566C9E
Tritanopia (blue-blind)
#B83562
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b025a1;
/* rgb */ color: rgb(176, 37, 161);
/* oklch */ color: oklch(53.7% 0.215 333.2);
Tailwind
colors: {
  custom: {
    50: '#cc71bd',
    500: '#b025a1',
    950: '#000000',
  },
}
SCSS
$custom: #b025a1;
$custom-light: #cc71bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b025a1",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 161
  },
  "hsl": {
    "h": 306.475,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53679,
    "c": 0.21457,
    "h": 333.2
  },
  "luminance": 0.13126
}

Semantic roles & 50–950 ramp

primary
#B025A1
secondary
#6AC774
accent
#E85240
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B025A1

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

Preview Lab → · Contrast checker → · Palette generator →

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