#BB7FE3#BB7FE3

#BB7FE3 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.6% C 0.154 H 310.6°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#BB7FE3
RGBrgb(187, 127, 227)
HSLhsl(276, 64%, 69%)
HSVhsv(276, 44%, 89%)
CMYKcmyk(17.6%, 44.1%, 0%, 11%)
CIE-LABlab(62.75, 41.23, -42.01)
CIE-LCHlch(62.75, 58.86, 314.46°)
OKLaboklab(69.57% 0.1001 -0.1168)
OKLCHoklch(69.57% 0.154 310.6)
XYZxyz(41.9455, 31.2903, 76.4881)
Luminance0.3129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FE3 #A7E37F
analogous
#897FE3 #BB7FE3 #E37FD9
triadic
#BB7FE3 #E3BB7F #7FE3BB
tetradic
#BB7FE3 #E3897F #A7E37F #7FD9E3
square
#BB7FE3 #E3897F #A7E37F #7FD9E3
split-complementary
#BB7FE3 #D9E37F #7FE389
monochromatic
#832ABE #A04DD8 #BB7FE3 #D6B1EE #F0E3F9

Accessibility & contrast

On white

2.89
#BB7FE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#BB7FE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FE3
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FE3#FFFFFF#000000##000000
##BB7FE31.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6995E7
Deuteranopia (green-blind)
#7999E0
Tritanopia (blue-blind)
#B68EA6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7fe3;
/* rgb */ color: rgb(187, 127, 227);
/* oklch */ color: oklch(69.6% 0.154 310.6);
Tailwind
colors: {
  custom: {
    50: '#d1a5ec',
    500: '#bb7fe3',
    950: '#000000',
  },
}
SCSS
$custom: #bb7fe3;
$custom-light: #d1a5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7fe3",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 227
  },
  "hsl": {
    "h": 276,
    "s": 64.103,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69573,
    "c": 0.15378,
    "h": 310.6
  },
  "luminance": 0.3129
}

Semantic roles & 50–950 ramp

primary
#BB7FE3
secondary
#DCEDD0
accent
#CC1A61
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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