#BB5FC2#BB5FC2

#BB5FC2 is a light, vivid purple. Relative luminance 0.226; OKLCH L 63.1% C 0.172 H 324.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#BB5FC2
RGBrgb(187, 95, 194)
HSLhsl(296, 45%, 57%)
HSVhsv(296, 51%, 76%)
CMYKcmyk(3.6%, 51%, 0%, 23.9%)
CIE-LABlab(54.71, 51.29, -36.00)
CIE-LCHlch(54.71, 62.66, 324.93°)
OKLaboklab(63.09% 0.14 -0.0992)
OKLCHoklch(63.09% 0.172 324.7)
XYZxyz(34.3225, 22.6460, 53.5917)
Luminance0.2264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5FC2 #66C25F
analogous
#8A5FC2 #BB5FC2 #C25F98
triadic
#BB5FC2 #C2BB5F #5FC2BB
tetradic
#BB5FC2 #C28A5F #66C25F #5F98C2
square
#BB5FC2 #C28A5F #66C25F #5F98C2
split-complementary
#BB5FC2 #98C25F #5FC28A
monochromatic
#732E79 #9E3FA5 #BB5FC2 #CE8BD3 #E1B8E4

Accessibility & contrast

On white

3.80
#BB5FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#BB5FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5FC2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5FC2#FFFFFF#000000##000000
##BB5FC21.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#537CC5
Deuteranopia (green-blind)
#6F87BF
Tritanopia (blue-blind)
#BF6B88
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bb5fc2;
/* rgb */ color: rgb(187, 95, 194);
/* oklch */ color: oklch(63.1% 0.172 324.7);
Tailwind
colors: {
  custom: {
    50: '#d290d5',
    500: '#bb5fc2',
    950: '#000000',
  },
}
SCSS
$custom: #bb5fc2;
$custom-light: #d290d5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5fc2",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 295.758,
    "s": 44.796,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63086,
    "c": 0.17157,
    "h": 324.7
  },
  "luminance": 0.22644
}

Semantic roles & 50–950 ramp

primary
#BB5FC2
secondary
#ADD3AA
accent
#D4535C
background
#FDF9FD
surface
#FAF1FA
border
#D3CBD3
text
#140D14
muted
#837E83

Preview Lab

Preview with #BB5FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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