#B025A8#B025A8

#B025A8 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.220 H 330.8°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B025A8
RGBrgb(176, 37, 168)
HSLhsl(303, 65%, 42%)
HSVhsv(303, 79%, 69%)
CMYKcmyk(0%, 79%, 4.5%, 31%)
CIE-LABlab(43.33, 67.29, -38.85)
CIE-LCHlch(43.33, 77.70, 330.00°)
OKLaboklab(54.07% 0.1915 -0.1072)
OKLCHoklch(54.07% 0.22 330.8)
XYZxyz(25.6339, 13.3825, 38.2712)
Luminance0.1338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B025A8 #25B02D
analogous
#7325B0 #B025A8 #B02563
triadic
#B025A8 #A8B025 #25A8B0
tetradic
#B025A8 #B07325 #25B02D #2563B0
square
#B025A8 #B07325 #25B02D #2563B0
split-complementary
#B025A8 #63B025 #25B073
monochromatic
#4B1047 #7D1A78 #B025A8 #D63CCD #E16FDA

Accessibility & contrast

On white

5.71
#B025A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B025A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B025A8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B025A8#FFFFFF#000000##FFFFFF
##B025A81.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105AAB
Deuteranopia (green-blind)
#536DA5
Tritanopia (blue-blind)
#B73966
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b025a8;
/* rgb */ color: rgb(176, 37, 168);
/* oklch */ color: oklch(54.1% 0.220 330.8);
Tailwind
colors: {
  custom: {
    50: '#cc71c2',
    500: '#b025a8',
    950: '#000000',
  },
}
SCSS
$custom: #b025a8;
$custom-light: #cc71c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b025a8",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 303.453,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54071,
    "c": 0.21952,
    "h": 330.8
  },
  "luminance": 0.1338
}

Semantic roles & 50–950 ramp

primary
#B025A8
secondary
#6AC76F
accent
#E84940
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B025A8

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

Preview Lab → · Contrast checker → · Palette generator →

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