#BB7FEF#BB7FEF

#BB7FEF is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.2% C 0.168 H 307.3°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#BB7FEF
RGBrgb(187, 127, 239)
HSLhsl(272, 78%, 72%)
HSVhsv(272, 47%, 94%)
CMYKcmyk(21.8%, 46.9%, 0%, 6.3%)
CIE-LABlab(63.32, 43.88, -47.76)
CIE-LCHlch(63.32, 64.86, 312.57°)
OKLaboklab(70.19% 0.1018 -0.1335)
OKLCHoklch(70.19% 0.168 307.3)
XYZxyz(43.6598, 31.9760, 85.5166)
Luminance0.3198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FEF #B3EF7F
analogous
#837FEF #BB7FEF #EF7FEB
triadic
#BB7FEF #EFBB7F #7FEFBB
tetradic
#BB7FEF #EF837F #B3EF7F #7FEBEF
square
#BB7FEF #EF837F #B3EF7F #7FEBEF
split-complementary
#BB7FEF #EBEF7F #7FEF83
monochromatic
#811BD9 #9E49E8 #BB7FEF #D8B5F6 #F1E4FC

Accessibility & contrast

On white

2.84
#BB7FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#BB7FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FEF
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FEF#FFFFFF#000000##000000
##BB7FEF1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F3
Deuteranopia (green-blind)
#729AEC
Tritanopia (blue-blind)
#B392AC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb7fef;
/* rgb */ color: rgb(187, 127, 239);
/* oklch */ color: oklch(70.2% 0.168 307.3);
Tailwind
colors: {
  custom: {
    50: '#d2a5f5',
    500: '#bb7fef',
    950: '#000000',
  },
}
SCSS
$custom: #bb7fef;
$custom-light: #d2a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7fef",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 272.143,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70186,
    "c": 0.16783,
    "h": 307.3
  },
  "luminance": 0.31976
}

Semantic roles & 50–950 ramp

primary
#BB7FEF
secondary
#E4F3D7
accent
#DA0B6B
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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