#BB99EF#BB99EF

#BB99EF is a light, vivid violet. Relative luminance 0.396; OKLCH L 74.6% C 0.126 H 301.6°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#BB99EF
RGBrgb(187, 153, 239)
HSLhsl(264, 73%, 77%)
HSVhsv(264, 36%, 94%)
CMYKcmyk(21.8%, 36%, 0%, 6.3%)
CIE-LABlab(69.17, 29.57, -38.59)
CIE-LCHlch(69.17, 48.62, 307.46°)
OKLaboklab(74.59% 0.0659 -0.107)
OKLCHoklch(74.59% 0.126 301.6)
XYZxyz(47.4614, 39.5792, 86.7838)
Luminance0.3958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB99EF #CDEF99
analogous
#99A2EF #BB99EF #E699EF
triadic
#BB99EF #EFBB99 #99EFBB
tetradic
#BB99EF #EF99A2 #CDEF99 #99EFE6
square
#BB99EF #EF99A2 #CDEF99 #99EFE6
split-complementary
#BB99EF #EFE699 #A2EF99
monochromatic
#742FDE #9864E7 #BB99EF #DECEF7 #EDE5FB

Accessibility & contrast

On white

2.36
#BB99EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#BB99EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB99EF
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB99EF#FFFFFF#000000##000000
##BB99EF1.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A8F2
Deuteranopia (green-blind)
#8BA9ED
Tritanopia (blue-blind)
#B2A7B9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bb99ef;
/* rgb */ color: rgb(187, 153, 239);
/* oklch */ color: oklch(74.6% 0.126 301.6);
Tailwind
colors: {
  custom: {
    50: '#d1b7f4',
    500: '#bb99ef',
    950: '#000000',
  },
}
SCSS
$custom: #bb99ef;
$custom-light: #d1b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb99ef",
  "rgb": {
    "r": 187,
    "g": 153,
    "b": 239
  },
  "hsl": {
    "h": 263.721,
    "s": 72.881,
    "l": 76.863
  },
  "oklch": {
    "l": 0.74593,
    "c": 0.12568,
    "h": 301.6
  },
  "luminance": 0.39579
}

Semantic roles & 50–950 ramp

primary
#BB99EF
secondary
#E8F3D8
accent
#D51187
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BB99EF

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

Preview Lab → · Contrast checker → · Palette generator →

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