#BB7ED2#BB7ED2

#BB7ED2 is a light, vivid purple. Relative luminance 0.301; OKLCH L 68.6% C 0.136 H 316.4°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#BB7ED2
RGBrgb(187, 126, 210)
HSLhsl(284, 48%, 66%)
HSVhsv(284, 40%, 82%)
CMYKcmyk(11%, 40%, 0%, 17.6%)
CIE-LABlab(61.78, 38.16, -34.04)
CIE-LCHlch(61.78, 51.13, 318.26°)
OKLaboklab(68.59% 0.0984 -0.0938)
OKLCHoklch(68.59% 0.136 316.4)
XYZxyz(39.5855, 30.1407, 64.6927)
Luminance0.3014 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7ED2 #95D27E
analogous
#917ED2 #BB7ED2 #D27EBF
triadic
#BB7ED2 #D2BB7E #7ED2BB
tetradic
#BB7ED2 #D2917E #95D27E #7EBFD2
square
#BB7ED2 #D2917E #95D27E #7EBFD2
split-complementary
#BB7ED2 #BFD27E #7ED291
monochromatic
#82379E #A351C2 #BB7ED2 #D3ABE2 #EBD9F2

Accessibility & contrast

On white

2.99
#BB7ED2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#BB7ED2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7ED2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7ED2#FFFFFF#000000##000000
##BB7ED21.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7091D5
Deuteranopia (green-blind)
#8097D0
Tritanopia (blue-blind)
#BA899E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bb7ed2;
/* rgb */ color: rgb(187, 126, 210);
/* oklch */ color: oklch(68.6% 0.136 316.4);
Tailwind
colors: {
  custom: {
    50: '#d1a4e0',
    500: '#bb7ed2',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ed2;
$custom-light: #d1a4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ed2",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 210
  },
  "hsl": {
    "h": 283.571,
    "s": 48.276,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68591,
    "c": 0.13595,
    "h": 316.4
  },
  "luminance": 0.3014
}

Semantic roles & 50–950 ramp

primary
#BB7ED2
secondary
#D0E4C8
accent
#BC2A52
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #BB7ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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