#BB5EC2#BB5EC2

#BB5EC2 is a light, vivid purple. Relative luminance 0.225; OKLCH L 62.9% C 0.173 H 324.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#BB5EC2
RGBrgb(187, 94, 194)
HSLhsl(296, 45%, 56%)
HSVhsv(296, 52%, 76%)
CMYKcmyk(3.6%, 51.5%, 0%, 23.9%)
CIE-LABlab(54.52, 51.78, -36.30)
CIE-LCHlch(54.52, 63.24, 324.97°)
OKLaboklab(62.95% 0.1413 -0.1001)
OKLCHoklch(62.95% 0.173 324.7)
XYZxyz(34.2330, 22.4670, 53.5619)
Luminance0.2246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5EC2 #65C25E
analogous
#895EC2 #BB5EC2 #C25E97
triadic
#BB5EC2 #C2BB5E #5EC2BB
tetradic
#BB5EC2 #C2895E #65C25E #5E97C2
square
#BB5EC2 #C2895E #65C25E #5E97C2
split-complementary
#BB5EC2 #97C25E #5EC289
monochromatic
#732E78 #9D3EA4 #BB5EC2 #CE8AD3 #E0B7E4

Accessibility & contrast

On white

3.82
#BB5EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#BB5EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5EC2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5EC2#FFFFFF#000000##000000
##BB5EC21.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#517BC5
Deuteranopia (green-blind)
#6E86BF
Tritanopia (blue-blind)
#BF6A87
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #bb5ec2;
/* rgb */ color: rgb(187, 94, 194);
/* oklch */ color: oklch(62.9% 0.173 324.7);
Tailwind
colors: {
  custom: {
    50: '#d28fd5',
    500: '#bb5ec2',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ec2;
$custom-light: #d28fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ec2",
  "rgb": {
    "r": 187,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 295.8,
    "s": 45.045,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62949,
    "c": 0.17317,
    "h": 324.7
  },
  "luminance": 0.22465
}

Semantic roles & 50–950 ramp

primary
#BB5EC2
secondary
#ACD2A9
accent
#D5535C
background
#FDF9FD
surface
#FAF1FA
border
#D3CBD3
text
#140D14
muted
#837E83

Preview Lab

Preview with #BB5EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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