#BB5FD7#BB5FD7

#BB5FD7 is a light, vivid purple. Relative luminance 0.237; OKLCH L 64.2% C 0.192 H 317.7°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#BB5FD7
RGBrgb(187, 95, 215)
HSLhsl(286, 60%, 61%)
HSVhsv(286, 56%, 84%)
CMYKcmyk(13%, 55.8%, 0%, 15.7%)
CIE-LABlab(55.74, 55.35, -46.33)
CIE-LCHlch(55.74, 72.19, 320.07°)
OKLaboklab(64.19% 0.1421 -0.1291)
OKLCHoklch(64.19% 0.192 317.7)
XYZxyz(36.8497, 23.6569, 66.9019)
Luminance0.2366 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5FD7 #7BD75F
analogous
#7F5FD7 #BB5FD7 #D75FB7
triadic
#BB5FD7 #D7BB5F #5FD7BB
tetradic
#BB5FD7 #D77F5F #7BD75F #5FB7D7
square
#BB5FD7 #D77F5F #7BD75F #5FB7D7
split-complementary
#BB5FD7 #B7D75F #5FD77F
monochromatic
#7C2696 #A432C7 #BB5FD7 #D090E3 #E5C1EF

Accessibility & contrast

On white

3.66
#BB5FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#BB5FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5FD7
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5FD7#FFFFFF#000000##000000
##BB5FD71.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4380DB
Deuteranopia (green-blind)
#6489D4
Tritanopia (blue-blind)
#BA7292
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #bb5fd7;
/* rgb */ color: rgb(187, 95, 215);
/* oklch */ color: oklch(64.2% 0.192 317.7);
Tailwind
colors: {
  custom: {
    50: '#d290e4',
    500: '#bb5fd7',
    950: '#000000',
  },
}
SCSS
$custom: #bb5fd7;
$custom-light: #d290e4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5fd7",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 286,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.64186,
    "c": 0.19201,
    "h": 317.7
  },
  "luminance": 0.23656
}

Semantic roles & 50–950 ramp

primary
#BB5FD7
secondary
#BDE0B2
accent
#C81E45
background
#FDF9FE
surface
#FAF1FC
border
#D3CBD5
text
#140D15
muted
#837E84

Preview Lab

Preview with #BB5FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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