#BB7FE2#BB7FE2

#BB7FE2 is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.5% C 0.153 H 310.9°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#BB7FE2
RGBrgb(187, 127, 226)
HSLhsl(276, 63%, 69%)
HSVhsv(276, 44%, 89%)
CMYKcmyk(17.3%, 43.8%, 0%, 11.4%)
CIE-LABlab(62.71, 41.01, -41.53)
CIE-LCHlch(62.71, 58.36, 314.64°)
OKLaboklab(69.52% 0.0999 -0.1154)
OKLCHoklch(69.52% 0.153 310.9)
XYZxyz(41.8079, 31.2352, 75.7633)
Luminance0.3124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FE2 #A6E27F
analogous
#8A7FE2 #BB7FE2 #E27FD7
triadic
#BB7FE2 #E2BB7F #7FE2BB
tetradic
#BB7FE2 #E28A7F #A6E27F #7FD7E2
square
#BB7FE2 #E28A7F #A6E27F #7FD7E2
split-complementary
#BB7FE2 #D7E27F #7FE28A
monochromatic
#832BBC #A04DD7 #BB7FE2 #D6B1ED #F0E3F9

Accessibility & contrast

On white

2.90
#BB7FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#BB7FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FE2
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FE2#FFFFFF#000000##000000
##BB7FE21.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A95E6
Deuteranopia (green-blind)
#7999DF
Tritanopia (blue-blind)
#B78EA6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7fe2;
/* rgb */ color: rgb(187, 127, 226);
/* oklch */ color: oklch(69.5% 0.153 310.9);
Tailwind
colors: {
  custom: {
    50: '#d1a5eb',
    500: '#bb7fe2',
    950: '#000000',
  },
}
SCSS
$custom: #bb7fe2;
$custom-light: #d1a5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7fe2",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 276.364,
    "s": 63.057,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69523,
    "c": 0.15261,
    "h": 310.9
  },
  "luminance": 0.31235
}

Semantic roles & 50–950 ramp

primary
#BB7FE2
secondary
#DBEDD0
accent
#CB1B60
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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