#B25AB2#B25AB2

#B25AB2 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.5% C 0.159 H 327.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B25AB2
RGBrgb(178, 90, 178)
HSLhsl(300, 36%, 53%)
HSVhsv(300, 49%, 70%)
CMYKcmyk(0%, 49.4%, 0%, 30.2%)
CIE-LABlab(51.83, 48.26, -31.35)
CIE-LCHlch(51.83, 57.55, 326.99°)
OKLaboklab(60.47% 0.1341 -0.086)
OKLCHoklch(60.47% 0.159 327.3)
XYZxyz(30.0516, 19.9933, 44.3870)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25AB2 #5AB25A
analogous
#865AB2 #B25AB2 #B25A86
triadic
#B25AB2 #B2B25A #5AB2B2
tetradic
#B25AB2 #B2865A #5AB25A #5A86B2
square
#B25AB2 #B2865A #5AB25A #5A86B2
split-complementary
#B25AB2 #86B25A #5AB286
monochromatic
#632E63 #8D428D #B25AB2 #C584C5 #D9ADD9

Accessibility & contrast

On white

4.20
#B25AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#B25AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25AB2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25AB2#FFFFFF#000000##000000
##B25AB21.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5274B5
Deuteranopia (green-blind)
#6C80AF
Tritanopia (blue-blind)
#B7637E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b25ab2;
/* rgb */ color: rgb(178, 90, 178);
/* oklch */ color: oklch(60.5% 0.159 327.3);
Tailwind
colors: {
  custom: {
    50: '#cb8cc9',
    500: '#b25ab2',
    950: '#000000',
  },
}
SCSS
$custom: #b25ab2;
$custom-light: #cb8cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b25ab2",
  "rgb": {
    "r": 178,
    "g": 90,
    "b": 178
  },
  "hsl": {
    "h": 300,
    "s": 36.364,
    "l": 52.549
  },
  "oklch": {
    "l": 0.6047,
    "c": 0.1593,
    "h": 327.3
  },
  "luminance": 0.19992
}

Semantic roles & 50–950 ramp

primary
#B25AB2
secondary
#A1C7A1
accent
#CC5B5B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B25AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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