#BB7ED7#BB7ED7

#BB7ED7 is a light, vivid purple. Relative luminance 0.304; OKLCH L 68.8% C 0.142 H 314.6°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#BB7ED7
RGBrgb(187, 126, 215)
HSLhsl(281, 53%, 67%)
HSVhsv(281, 41%, 84%)
CMYKcmyk(13%, 41.4%, 0%, 15.7%)
CIE-LABlab(61.99, 39.20, -36.51)
CIE-LCHlch(61.99, 53.57, 317.04°)
OKLaboklab(68.83% 0.0994 -0.1009)
OKLCHoklch(68.83% 0.142 314.6)
XYZxyz(40.2182, 30.3937, 68.0247)
Luminance0.3039 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7ED7 #9AD77E
analogous
#8F7ED7 #BB7ED7 #D77EC6
triadic
#BB7ED7 #D7BB7E #7ED7BB
tetradic
#BB7ED7 #D78F7E #9AD77E #7EC6D7
square
#BB7ED7 #D78F7E #9AD77E #7EC6D7
split-complementary
#BB7ED7 #C6D77E #7ED78F
monochromatic
#8334A7 #A24FC9 #BB7ED7 #D4ADE5 #ECDBF4

Accessibility & contrast

On white

2.97
#BB7ED7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#BB7ED7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7ED7
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7ED7#FFFFFF#000000##000000
##BB7ED71.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E92DA
Deuteranopia (green-blind)
#7E97D4
Tritanopia (blue-blind)
#B98AA0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #bb7ed7;
/* rgb */ color: rgb(187, 126, 215);
/* oklch */ color: oklch(68.8% 0.142 314.6);
Tailwind
colors: {
  custom: {
    50: '#d1a4e3',
    500: '#bb7ed7',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ed7;
$custom-light: #d1a4e3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ed7",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 215
  },
  "hsl": {
    "h": 281.124,
    "s": 52.663,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68825,
    "c": 0.14161,
    "h": 314.6
  },
  "luminance": 0.30393
}

Semantic roles & 50–950 ramp

primary
#BB7ED7
secondary
#D3E7CA
accent
#C02556
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #BB7ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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