#BB7FF1#BB7FF1

#BB7FF1 is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.3% C 0.170 H 306.8°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#BB7FF1
RGBrgb(187, 127, 241)
HSLhsl(272, 80%, 72%)
HSVhsv(272, 47%, 95%)
CMYKcmyk(22.4%, 47.3%, 0%, 5.5%)
CIE-LABlab(63.42, 44.33, -48.71)
CIE-LCHlch(63.42, 65.86, 312.30°)
OKLaboklab(70.29% 0.102 -0.1362)
OKLCHoklch(70.29% 0.17 306.8)
XYZxyz(43.9569, 32.0948, 87.0813)
Luminance0.3209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FF1 #B5F17F
analogous
#827FF1 #BB7FF1 #F17FEE
triadic
#BB7FF1 #F1BB7F #7FF1BB
tetradic
#BB7FF1 #F1827F #B5F17F #7FEEF1
square
#BB7FF1 #F1827F #B5F17F #7FEEF1
split-complementary
#BB7FF1 #EEF17F #7FF182
monochromatic
#8018DD #9E48EB #BB7FF1 #D8B6F7 #F0E3FC

Accessibility & contrast

On white

2.83
#BB7FF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#BB7FF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FF1
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FF1#FFFFFF#000000##000000
##BB7FF11.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6197F5
Deuteranopia (green-blind)
#719AEE
Tritanopia (blue-blind)
#B392AD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bb7ff1;
/* rgb */ color: rgb(187, 127, 241);
/* oklch */ color: oklch(70.3% 0.170 306.8);
Tailwind
colors: {
  custom: {
    50: '#d2a5f6',
    500: '#bb7ff1',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ff1;
$custom-light: #d2a5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ff1",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 241
  },
  "hsl": {
    "h": 271.579,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70291,
    "c": 0.17019,
    "h": 306.8
  },
  "luminance": 0.32094
}

Semantic roles & 50–950 ramp

primary
#BB7FF1
secondary
#E5F4D7
accent
#DD096D
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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