#BB7FE1#BB7FE1

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

Color values

HEX#BB7FE1
RGBrgb(187, 127, 225)
HSLhsl(277, 62%, 69%)
HSVhsv(277, 44%, 88%)
CMYKcmyk(16.9%, 43.6%, 0%, 11.8%)
CIE-LABlab(62.66, 40.79, -41.04)
CIE-LCHlch(62.66, 57.87, 314.82°)
OKLaboklab(69.47% 0.0997 -0.114)
OKLCHoklch(69.47% 0.151 311.2)
XYZxyz(41.6711, 31.1805, 75.0428)
Luminance0.3118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FE1 #A5E17F
analogous
#8A7FE1 #BB7FE1 #E17FD6
triadic
#BB7FE1 #E1BB7F #7FE1BB
tetradic
#BB7FE1 #E18A7F #A5E17F #7FD6E1
square
#BB7FE1 #E18A7F #A5E17F #7FD6E1
split-complementary
#BB7FE1 #D6E17F #7FE18A
monochromatic
#832CBA #A14DD5 #BB7FE1 #D5B1ED #F0E2F8

Accessibility & contrast

On white

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

On black

7.24
#BB7FE1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FE1
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FE1#FFFFFF#000000##000000
##BB7FE11.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A95E5
Deuteranopia (green-blind)
#7A99DE
Tritanopia (blue-blind)
#B78EA5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7fe1;
/* rgb */ color: rgb(187, 127, 225);
/* oklch */ color: oklch(69.5% 0.151 311.2);
Tailwind
colors: {
  custom: {
    50: '#d1a5eb',
    500: '#bb7fe1',
    950: '#000000',
  },
}
SCSS
$custom: #bb7fe1;
$custom-light: #d1a5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7fe1",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 225
  },
  "hsl": {
    "h": 276.735,
    "s": 62.025,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69473,
    "c": 0.15145,
    "h": 311.2
  },
  "luminance": 0.3118
}

Semantic roles & 50–950 ramp

primary
#BB7FE1
secondary
#DBECD0
accent
#CA1C5F
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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