#BB5CD9#BB5CD9

#BB5CD9 is a light, vivid purple. Relative luminance 0.232; OKLCH L 63.9% C 0.198 H 317.4°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#BB5CD9
RGBrgb(187, 92, 217)
HSLhsl(286, 62%, 61%)
HSVhsv(286, 58%, 85%)
CMYKcmyk(13.8%, 57.6%, 0%, 14.9%)
CIE-LABlab(55.31, 57.20, -48.15)
CIE-LCHlch(55.31, 74.77, 319.91°)
OKLaboklab(63.9% 0.146 -0.1344)
OKLCHoklch(63.9% 0.198 317.4)
XYZxyz(36.8433, 23.2302, 68.1753)
Luminance0.2323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5CD9 #7AD95C
analogous
#7C5CD9 #BB5CD9 #D95CB8
triadic
#BB5CD9 #D9BB5C #5CD9BB
tetradic
#BB5CD9 #D97C5C #7AD95C #5CB8D9
square
#BB5CD9 #D97C5C #7AD95C #5CB8D9
split-complementary
#BB5CD9 #B8D95C #5CD97C
monochromatic
#7B2397 #A42FC9 #BB5CD9 #D08EE5 #E4BFF0

Accessibility & contrast

On white

3.72
#BB5CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#BB5CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5CD9
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5CD9#FFFFFF#000000##000000
##BB5CD91.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7EDD
Deuteranopia (green-blind)
#6087D6
Tritanopia (blue-blind)
#BA7092
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #bb5cd9;
/* rgb */ color: rgb(187, 92, 217);
/* oklch */ color: oklch(63.9% 0.198 317.4);
Tailwind
colors: {
  custom: {
    50: '#d28fe5',
    500: '#bb5cd9',
    950: '#000000',
  },
}
SCSS
$custom: #bb5cd9;
$custom-light: #d28fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5cd9",
  "rgb": {
    "r": 187,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 285.6,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63903,
    "c": 0.19848,
    "h": 317.4
  },
  "luminance": 0.23229
}

Semantic roles & 50–950 ramp

primary
#BB5CD9
secondary
#BCE0B1
accent
#CA1C45
background
#FDF9FE
surface
#FAF1FC
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BB5CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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