#BB5FE2#BB5FE2

#BB5FE2 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 64.8% C 0.203 H 314.6°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#BB5FE2
RGBrgb(187, 95, 226)
HSLhsl(282, 69%, 63%)
HSVhsv(282, 58%, 89%)
CMYKcmyk(17.3%, 58%, 0%, 11.4%)
CIE-LABlab(56.33, 57.58, -51.61)
CIE-LCHlch(56.33, 77.33, 318.13°)
OKLaboklab(64.8% 0.1426 -0.1445)
OKLCHoklch(64.8% 0.203 314.6)
XYZxyz(38.3110, 24.2414, 74.5977)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5FE2 #86E25F
analogous
#795FE2 #BB5FE2 #E25FC8
triadic
#BB5FE2 #E2BB5F #5FE2BB
tetradic
#BB5FE2 #E2795F #86E25F #5FC8E2
square
#BB5FE2 #E2795F #86E25F #5FC8E2
split-complementary
#BB5FE2 #C8E25F #5FE279
monochromatic
#7F1EA8 #A52BD9 #BB5FE2 #D193EB #E7C7F5

Accessibility & contrast

On white

3.59
#BB5FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#BB5FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5FE2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5FE2#FFFFFF#000000##000000
##BB5FE21.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3982E6
Deuteranopia (green-blind)
#5C8ADF
Tritanopia (blue-blind)
#B87698
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #bb5fe2;
/* rgb */ color: rgb(187, 95, 226);
/* oklch */ color: oklch(64.8% 0.203 314.6);
Tailwind
colors: {
  custom: {
    50: '#d291ec',
    500: '#bb5fe2',
    950: '#000000',
  },
}
SCSS
$custom: #bb5fe2;
$custom-light: #d291ec;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5fe2",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 226
  },
  "hsl": {
    "h": 282.137,
    "s": 69.312,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64804,
    "c": 0.20304,
    "h": 314.6
  },
  "luminance": 0.2424
}

Semantic roles & 50–950 ramp

primary
#BB5FE2
secondary
#C5E6B7
accent
#D1144D
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BB5FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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