#B25BB3#B25BB3

#B25BB3 is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.7% C 0.159 H 326.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B25BB3
RGBrgb(178, 91, 179)
HSLhsl(299, 37%, 53%)
HSVhsv(299, 49%, 70%)
CMYKcmyk(0.6%, 49.2%, 0%, 29.8%)
CIE-LABlab(52.07, 47.94, -31.56)
CIE-LCHlch(52.07, 57.39, 326.64°)
OKLaboklab(60.66% 0.1328 -0.0866)
OKLCHoklch(60.66% 0.159 326.9)
XYZxyz(30.2373, 20.2034, 44.9461)
Luminance0.2020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25BB3 #5CB35B
analogous
#865BB3 #B25BB3 #B35B88
triadic
#B25BB3 #B3B25B #5BB3B2
tetradic
#B25BB3 #B3865B #5CB35B #5B88B3
square
#B25BB3 #B3865B #5CB35B #5B88B3
split-complementary
#B25BB3 #88B35B #5BB386
monochromatic
#642F65 #8E428F #B25BB3 #C685C6 #D9AFDA

Accessibility & contrast

On white

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

On black

5.04
#B25BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25BB3
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25BB3#FFFFFF#000000##000000
##B25BB31.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5375B6
Deuteranopia (green-blind)
#6C80B0
Tritanopia (blue-blind)
#B6657F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b25bb3;
/* rgb */ color: rgb(178, 91, 179);
/* oklch */ color: oklch(60.7% 0.159 326.9);
Tailwind
colors: {
  custom: {
    50: '#cb8dca',
    500: '#b25bb3',
    950: '#000000',
  },
}
SCSS
$custom: #b25bb3;
$custom-light: #cb8dca;
$custom-dark: #000000;
JSON
{
  "hex": "#b25bb3",
  "rgb": {
    "r": 178,
    "g": 91,
    "b": 179
  },
  "hsl": {
    "h": 299.318,
    "s": 36.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.6066,
    "c": 0.15858,
    "h": 326.9
  },
  "luminance": 0.20202
}

Semantic roles & 50–950 ramp

primary
#B25BB3
secondary
#A2C8A2
accent
#CD5B5C
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B25BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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