#B25BB2#B25BB2

#B25BB2 is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.6% C 0.158 H 327.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B25BB2
RGBrgb(178, 91, 178)
HSLhsl(300, 36%, 53%)
HSVhsv(300, 49%, 70%)
CMYKcmyk(0%, 48.9%, 0%, 30.2%)
CIE-LABlab(52.02, 47.75, -31.05)
CIE-LCHlch(52.02, 56.96, 326.97°)
OKLaboklab(60.61% 0.1327 -0.0852)
OKLCHoklch(60.61% 0.158 327.3)
XYZxyz(30.1365, 20.1631, 44.4153)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25BB2 #5BB25B
analogous
#865BB2 #B25BB2 #B25B86
triadic
#B25BB2 #B2B25B #5BB2B2
tetradic
#B25BB2 #B2865B #5BB25B #5B86B2
square
#B25BB2 #B2865B #5BB25B #5B86B2
split-complementary
#B25BB2 #86B25B #5BB286
monochromatic
#642F64 #8D428D #B25BB2 #C685C6 #D9AED9

Accessibility & contrast

On white

4.17
#B25BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B25BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25BB2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25BB2#FFFFFF#000000##000000
##B25BB21.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5375B5
Deuteranopia (green-blind)
#6D80AF
Tritanopia (blue-blind)
#B7647E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b25bb2;
/* rgb */ color: rgb(178, 91, 178);
/* oklch */ color: oklch(60.6% 0.158 327.3);
Tailwind
colors: {
  custom: {
    50: '#cb8dc9',
    500: '#b25bb2',
    950: '#000000',
  },
}
SCSS
$custom: #b25bb2;
$custom-light: #cb8dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b25bb2",
  "rgb": {
    "r": 178,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 300,
    "s": 36.1,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60612,
    "c": 0.15764,
    "h": 327.3
  },
  "luminance": 0.20162
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B25BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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