#BB7EB7#BB7EB7

#BB7EB7 is a light, moderate purple. Relative luminance 0.289; OKLCH L 67.4% C 0.107 H 329.0°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#BB7EB7
RGBrgb(187, 126, 183)
HSLhsl(304, 31%, 61%)
HSVhsv(304, 33%, 73%)
CMYKcmyk(0%, 32.6%, 2.1%, 26.7%)
CIE-LABlab(60.70, 32.83, -20.45)
CIE-LCHlch(60.70, 38.68, 328.09°)
OKLaboklab(67.42% 0.0918 -0.0553)
OKLCHoklch(67.42% 0.107 329)
XYZxyz(36.5010, 28.9068, 48.4474)
Luminance0.2890 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EB7 #7EBB82
analogous
#A17EBB #BB7EB7 #BB7E99
triadic
#BB7EB7 #B7BB7E #7EB7BB
tetradic
#BB7EB7 #BBA17E #7EBB82 #7E99BB
square
#BB7EB7 #BBA17E #7EBB82 #7E99BB
split-complementary
#BB7EB7 #99BB7E #7EBBA1
monochromatic
#7D4279 #A557A0 #BB7EB7 #D0A6CD #E5CEE4

Accessibility & contrast

On white

3.10
#BB7EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#BB7EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB7EB7
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EB7#FFFFFF#000000##000000
##BB7EB71.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8DB9
Deuteranopia (green-blind)
#8A95B5
Tritanopia (blue-blind)
#BF8393
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #bb7eb7;
/* rgb */ color: rgb(187, 126, 183);
/* oklch */ color: oklch(67.4% 0.107 329.0);
Tailwind
colors: {
  custom: {
    50: '#d0a4cc',
    500: '#bb7eb7',
    950: '#000000',
  },
}
SCSS
$custom: #bb7eb7;
$custom-light: #d0a4cc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7eb7",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 183
  },
  "hsl": {
    "h": 303.934,
    "s": 30.964,
    "l": 61.373
  },
  "oklch": {
    "l": 0.67424,
    "c": 0.10719,
    "h": 329
  },
  "luminance": 0.28905
}

Semantic roles & 50–950 ramp

primary
#BB7EB7
secondary
#BFD6C0
accent
#AA433C
background
#FCFAFC
surface
#F9F4F8
border
#D2CED1
text
#140F13
muted
#827F82

Preview Lab

Preview with #BB7EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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