#BB7FE7#BB7FE7

#BB7FE7 is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.8% C 0.158 H 309.5°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#BB7FE7
RGBrgb(187, 127, 231)
HSLhsl(275, 68%, 70%)
HSVhsv(275, 45%, 91%)
CMYKcmyk(19%, 45%, 0%, 9.4%)
CIE-LABlab(62.94, 42.10, -43.94)
CIE-LCHlch(62.94, 60.85, 313.78°)
OKLaboklab(69.77% 0.1007 -0.1223)
OKLCHoklch(69.77% 0.158 309.5)
XYZxyz(42.5040, 31.5137, 79.4294)
Luminance0.3151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FE7 #ABE77F
analogous
#877FE7 #BB7FE7 #E77FDF
triadic
#BB7FE7 #E7BB7F #7FE7BB
tetradic
#BB7FE7 #E7877F #ABE77F #7FDFE7
square
#BB7FE7 #E7877F #ABE77F #7FDFE7
split-complementary
#BB7FE7 #DFE77F #7FE787
monochromatic
#8225C6 #A04BDD #BB7FE7 #D6B3F1 #F1E5FA

Accessibility & contrast

On white

2.88
#BB7FE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#BB7FE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FE7
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FE7#FFFFFF#000000##000000
##BB7FE71.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6796EB
Deuteranopia (green-blind)
#7799E4
Tritanopia (blue-blind)
#B58FA8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7fe7;
/* rgb */ color: rgb(187, 127, 231);
/* oklch */ color: oklch(69.8% 0.158 309.5);
Tailwind
colors: {
  custom: {
    50: '#d1a5ef',
    500: '#bb7fe7',
    950: '#000000',
  },
}
SCSS
$custom: #bb7fe7;
$custom-light: #d1a5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7fe7",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 231
  },
  "hsl": {
    "h": 274.615,
    "s": 68.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69774,
    "c": 0.15845,
    "h": 309.5
  },
  "luminance": 0.31513
}

Semantic roles & 50–950 ramp

primary
#BB7FE7
secondary
#DFEFD2
accent
#D01564
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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