#B025A2#B025A2

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

Color values

HEX#B025A2
RGBrgb(176, 37, 162)
HSLhsl(306, 65%, 42%)
HSVhsv(306, 79%, 69%)
CMYKcmyk(0%, 79%, 8%, 31%)
CIE-LABlab(43.01, 66.38, -35.78)
CIE-LCHlch(43.01, 75.41, 331.68°)
OKLaboklab(53.73% 0.1915 -0.0984)
OKLCHoklch(53.73% 0.215 332.8)
XYZxyz(25.0878, 13.1641, 35.3950)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B025A2 #25B033
analogous
#7925B0 #B025A2 #B0255D
triadic
#B025A2 #A2B025 #25A2B0
tetradic
#B025A2 #B07925 #25B033 #255DB0
square
#B025A2 #B07925 #25B033 #255DB0
split-complementary
#B025A2 #5DB025 #25B079
monochromatic
#4B1045 #7D1A73 #B025A2 #D63CC7 #E16FD5

Accessibility & contrast

On white

5.78
#B025A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B025A2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B025A2#FFFFFF#000000##FFFFFF
##B025A21.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C59A5
Deuteranopia (green-blind)
#566C9F
Tritanopia (blue-blind)
#B83663
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b025a2;
/* rgb */ color: rgb(176, 37, 162);
/* oklch */ color: oklch(53.7% 0.215 332.8);
Tailwind
colors: {
  custom: {
    50: '#cc71be',
    500: '#b025a2',
    950: '#000000',
  },
}
SCSS
$custom: #b025a2;
$custom-light: #cc71be;
$custom-dark: #000000;
JSON
{
  "hex": "#b025a2",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 306.043,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53734,
    "c": 0.21526,
    "h": 332.8
  },
  "luminance": 0.13162
}

Semantic roles & 50–950 ramp

primary
#B025A2
secondary
#6AC773
accent
#E85140
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B025A2

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

Preview Lab → · Contrast checker → · Palette generator →

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