#BB7FFB#BB7FFB

#BB7FFB is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.8% C 0.182 H 304.5°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#BB7FFB
RGBrgb(187, 127, 251)
HSLhsl(269, 94%, 74%)
HSVhsv(269, 49%, 98%)
CMYKcmyk(25.5%, 49.4%, 0%, 1.6%)
CIE-LABlab(63.92, 46.61, -53.42)
CIE-LCHlch(63.92, 70.90, 311.11°)
OKLaboklab(70.83% 0.1031 -0.1499)
OKLCHoklch(70.83% 0.182 304.5)
XYZxyz(45.4917, 32.7088, 95.1649)
Luminance0.3271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FFB #BFFB7F
analogous
#7F81FB #BB7FFB #F97FFB
triadic
#BB7FFB #FBBB7F #7FFBBB
tetradic
#BB7FFB #FB7F81 #BFFB7F #7FFBF9
square
#BB7FFB #FB7F81 #BFFB7F #7FFBF9
split-complementary
#BB7FFB #FBF97F #81FB7F
monochromatic
#7C08F7 #9B44F9 #BB7FFB #DBBAFD #EFE1FE

Accessibility & contrast

On white

2.78
#BB7FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#BB7FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FFB
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FFB#FFFFFF#000000##000000
##BB7FFB1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A99FF
Deuteranopia (green-blind)
#6A9BF8
Tritanopia (blue-blind)
#B095B1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bb7ffb;
/* rgb */ color: rgb(187, 127, 251);
/* oklch */ color: oklch(70.8% 0.182 304.5);
Tailwind
colors: {
  custom: {
    50: '#d2a5fd',
    500: '#bb7ffb',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ffb;
$custom-light: #d2a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ffb",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 269.032,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7083,
    "c": 0.18196,
    "h": 304.5
  },
  "luminance": 0.32709
}

Semantic roles & 50–950 ramp

primary
#BB7FFB
secondary
#E6F6D5
accent
#E60076
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BB7FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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