#BB9EF2#BB9EF2

#BB9EF2 is a light, vivid violet. Relative luminance 0.414; OKLCH L 75.6% C 0.122 H 299.4°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#BB9EF2
RGBrgb(187, 158, 242)
HSLhsl(261, 76%, 78%)
HSVhsv(261, 35%, 95%)
CMYKcmyk(22.7%, 34.7%, 0%, 5.1%)
CIE-LABlab(70.48, 27.48, -38.19)
CIE-LCHlch(70.48, 47.05, 305.73°)
OKLaboklab(75.63% 0.0596 -0.1059)
OKLCHoklch(75.63% 0.122 299.4)
XYZxyz(48.7438, 41.4291, 89.4158)
Luminance0.4143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EF2 #D5F29E
analogous
#9EABF2 #BB9EF2 #E59EF2
triadic
#BB9EF2 #F2BB9E #9EF2BB
tetradic
#BB9EF2 #F29EAB #D5F29E #9EF2E5
square
#BB9EF2 #F29EAB #D5F29E #9EF2E5
split-complementary
#BB9EF2 #F2E59E #ABF29E
monochromatic
#6F32E4 #9568EB #BB9EF2 #E1D4F9 #ECE4FB

Accessibility & contrast

On white

2.26
#BB9EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#BB9EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EF2
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EF2#FFFFFF#000000##000000
##BB9EF21.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AACF5
Deuteranopia (green-blind)
#8FACF0
Tritanopia (blue-blind)
#B1ACBD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bb9ef2;
/* rgb */ color: rgb(187, 158, 242);
/* oklch */ color: oklch(75.6% 0.122 299.4);
Tailwind
colors: {
  custom: {
    50: '#d1bbf6',
    500: '#bb9ef2',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ef2;
$custom-light: #d1bbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ef2",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 242
  },
  "hsl": {
    "h": 260.714,
    "s": 76.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.7563,
    "c": 0.12151,
    "h": 299.4
  },
  "luminance": 0.41429
}

Semantic roles & 50–950 ramp

primary
#BB9EF2
secondary
#EAF3D8
accent
#D90D92
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141117
muted
#828085

Preview Lab

Preview with #BB9EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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