#B25BB1#B25BB1

#B25BB1 is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.6% C 0.157 H 327.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B25BB1
RGBrgb(178, 91, 177)
HSLhsl(301, 36%, 53%)
HSVhsv(301, 49%, 70%)
CMYKcmyk(0%, 48.9%, 0.6%, 30.2%)
CIE-LABlab(51.98, 47.57, -30.54)
CIE-LCHlch(51.98, 56.53, 327.30°)
OKLaboklab(60.56% 0.1325 -0.0837)
OKLCHoklch(60.56% 0.157 327.7)
XYZxyz(30.0365, 20.1231, 43.8885)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25BB1 #5BB25C
analogous
#885BB2 #B25BB1 #B25B85
triadic
#B25BB1 #B1B25B #5BB1B2
tetradic
#B25BB1 #B2885B #5BB25C #5B85B2
square
#B25BB1 #B2885B #5BB25C #5B85B2
split-complementary
#B25BB1 #85B25B #5BB288
monochromatic
#642F63 #8D428D #B25BB1 #C685C5 #D9AED9

Accessibility & contrast

On white

4.18
#B25BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B25BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25BB1
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25BB1#FFFFFF#000000##000000
##B25BB11.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5475B4
Deuteranopia (green-blind)
#6D80AE
Tritanopia (blue-blind)
#B7647E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b25bb1;
/* rgb */ color: rgb(178, 91, 177);
/* oklch */ color: oklch(60.6% 0.157 327.7);
Tailwind
colors: {
  custom: {
    50: '#cb8dc8',
    500: '#b25bb1',
    950: '#000000',
  },
}
SCSS
$custom: #b25bb1;
$custom-light: #cb8dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#b25bb1",
  "rgb": {
    "r": 178,
    "g": 91,
    "b": 177
  },
  "hsl": {
    "h": 300.69,
    "s": 36.1,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60564,
    "c": 0.15671,
    "h": 327.7
  },
  "luminance": 0.20121
}

Semantic roles & 50–950 ramp

primary
#B25BB1
secondary
#A2C7A2
accent
#CC5D5C
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B25BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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