#BB25C4#BB25C4

#BB25C4 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.4% C 0.245 H 325.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BB25C4
RGBrgb(187, 37, 196)
HSLhsl(297, 68%, 46%)
HSVhsv(297, 81%, 77%)
CMYKcmyk(4.6%, 81.1%, 0%, 23.1%)
CIE-LABlab(46.81, 73.87, -49.66)
CIE-LCHlch(46.81, 89.02, 326.09°)
OKLaboklab(57.41% 0.2017 -0.1384)
OKLCHoklch(57.41% 0.245 325.5)
XYZxyz(31.1182, 15.8756, 53.6391)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB25C4 #2EC425
analogous
#6B25C4 #BB25C4 #C4257D
triadic
#BB25C4 #C4BB25 #25C4BB
tetradic
#BB25C4 #C46B25 #2EC425 #257DC4
square
#BB25C4 #C46B25 #2EC425 #257DC4
split-complementary
#BB25C4 #7DC425 #25C46B
monochromatic
#59125D #8A1B91 #BB25C4 #D449DD #E07DE6

Accessibility & contrast

On white

5.03
#BB25C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#BB25C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB25C4
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB25C4#FFFFFF#000000##FFFFFF
##BB25C41.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C8
Deuteranopia (green-blind)
#4C75C0
Tritanopia (blue-blind)
#BF4577
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb25c4;
/* rgb */ color: rgb(187, 37, 196);
/* oklch */ color: oklch(57.4% 0.245 325.5);
Tailwind
colors: {
  custom: {
    50: '#d474d6',
    500: '#bb25c4',
    950: '#000000',
  },
}
SCSS
$custom: #bb25c4;
$custom-light: #d474d6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb25c4",
  "rgb": {
    "r": 187,
    "g": 37,
    "b": 196
  },
  "hsl": {
    "h": 296.604,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.57411,
    "c": 0.24464,
    "h": 325.5
  },
  "luminance": 0.15873
}

Semantic roles & 50–950 ramp

primary
#BB25C4
secondary
#7BCF76
accent
#EB3D47
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150914
muted
#837B83

Preview Lab

Preview with #BB25C4

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

Preview Lab → · Contrast checker → · Palette generator →

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