#BB2FE2#BB2FE2

#BB2FE2 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 60.0% C 0.260 H 317.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BB2FE2
RGBrgb(187, 47, 226)
HSLhsl(287, 76%, 54%)
HSVhsv(287, 79%, 89%)
CMYKcmyk(17.3%, 79.2%, 0%, 11.4%)
CIE-LABlab(49.61, 76.40, -62.39)
CIE-LCHlch(49.61, 98.64, 320.77°)
OKLaboklab(59.99% 0.191 -0.1758)
OKLCHoklch(59.99% 0.26 317.4)
XYZxyz(35.2355, 18.0904, 73.5725)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2FE2 #56E22F
analogous
#612FE2 #BB2FE2 #E22FB0
triadic
#BB2FE2 #E2BB2F #2FE2BB
tetradic
#BB2FE2 #E2612F #56E22F #2FB0E2
square
#BB2FE2 #E2612F #56E22F #2FB0E2
split-complementary
#BB2FE2 #B0E22F #2FE261
monochromatic
#6B1284 #971ABA #BB2FE2 #CD65E9 #DE9AF1

Accessibility & contrast

On white

4.55
#BB2FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#BB2FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB2FE2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2FE2#FFFFFF#000000##000000
##BB2FE21.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#337ADE
Tritanopia (blue-blind)
#B9598A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bb2fe2;
/* rgb */ color: rgb(187, 47, 226);
/* oklch */ color: oklch(60.0% 0.260 317.4);
Tailwind
colors: {
  custom: {
    50: '#d479ec',
    500: '#bb2fe2',
    950: '#000000',
  },
}
SCSS
$custom: #bb2fe2;
$custom-light: #d479ec;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2fe2",
  "rgb": {
    "r": 187,
    "g": 47,
    "b": 226
  },
  "hsl": {
    "h": 286.927,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59985,
    "c": 0.25958,
    "h": 317.4
  },
  "luminance": 0.18089
}

Semantic roles & 50–950 ramp

primary
#BB2FE2
secondary
#A1DD90
accent
#F2365F
background
#FDF7FE
surface
#FBEEFD
border
#D4C9D5
text
#150A16
muted
#837C84

Preview Lab

Preview with #BB2FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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