#BB7ED4#BB7ED4

#BB7ED4 is a light, vivid purple. Relative luminance 0.302; OKLCH L 68.7% C 0.138 H 315.6°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#BB7ED4
RGBrgb(187, 126, 212)
HSLhsl(283, 50%, 66%)
HSVhsv(283, 41%, 83%)
CMYKcmyk(11.8%, 40.6%, 0%, 16.9%)
CIE-LABlab(61.86, 38.57, -35.03)
CIE-LCHlch(61.86, 52.10, 317.76°)
OKLaboklab(68.68% 0.0988 -0.0966)
OKLCHoklch(68.68% 0.138 315.6)
XYZxyz(39.8362, 30.2410, 66.0132)
Luminance0.3024 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7ED4 #97D47E
analogous
#907ED4 #BB7ED4 #D47EC2
triadic
#BB7ED4 #D4BB7E #7ED4BB
tetradic
#BB7ED4 #D4907E #97D47E #7EC2D4
square
#BB7ED4 #D4907E #97D47E #7EC2D4
split-complementary
#BB7ED4 #C2D47E #7ED490
monochromatic
#8236A2 #A350C5 #BB7ED4 #D3ACE3 #EBDAF3

Accessibility & contrast

On white

2.98
#BB7ED4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#BB7ED4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7ED4
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7ED4#FFFFFF#000000##000000
##BB7ED41.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F92D7
Deuteranopia (green-blind)
#7F97D1
Tritanopia (blue-blind)
#BA8A9F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bb7ed4;
/* rgb */ color: rgb(187, 126, 212);
/* oklch */ color: oklch(68.7% 0.138 315.6);
Tailwind
colors: {
  custom: {
    50: '#d1a4e1',
    500: '#bb7ed4',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ed4;
$custom-light: #d1a4e1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ed4",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 212
  },
  "hsl": {
    "h": 282.558,
    "s": 50,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68684,
    "c": 0.13821,
    "h": 315.6
  },
  "luminance": 0.3024
}

Semantic roles & 50–950 ramp

primary
#BB7ED4
secondary
#D1E5C9
accent
#BD2854
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #BB7ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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