#BB74E9#BB74E9

#BB74E9 is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.2% C 0.178 H 310.5°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#BB74E9
RGBrgb(187, 116, 233)
HSLhsl(276, 73%, 68%)
HSVhsv(276, 50%, 91%)
CMYKcmyk(19.7%, 50.2%, 0%, 8.6%)
CIE-LABlab(60.73, 48.43, -48.54)
CIE-LCHlch(60.73, 68.56, 314.93°)
OKLaboklab(68.16% 0.1159 -0.1357)
OKLCHoklch(68.16% 0.178 310.5)
XYZxyz(41.4442, 28.9395, 80.4776)
Luminance0.2894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB74E9 #A2E974
analogous
#8074E9 #BB74E9 #E974DD
triadic
#BB74E9 #E9BB74 #74E9BB
tetradic
#BB74E9 #E98074 #A2E974 #74DDE9
square
#BB74E9 #E98074 #A2E974 #74DDE9
split-complementary
#BB74E9 #DDE974 #74E980
monochromatic
#831FC4 #A13FE1 #BB74E9 #D5A9F1 #EFDEFA

Accessibility & contrast

On white

3.09
#BB74E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#BB74E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB74E9
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB74E9#FFFFFF#000000##000000
##BB74E91.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#568FED
Deuteranopia (green-blind)
#6B94E6
Tritanopia (blue-blind)
#B587A4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #bb74e9;
/* rgb */ color: rgb(187, 116, 233);
/* oklch */ color: oklch(68.2% 0.178 310.5);
Tailwind
colors: {
  custom: {
    50: '#d29ef0',
    500: '#bb74e9',
    950: '#000000',
  },
}
SCSS
$custom: #bb74e9;
$custom-light: #d29ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb74e9",
  "rgb": {
    "r": 187,
    "g": 116,
    "b": 233
  },
  "hsl": {
    "h": 276.41,
    "s": 72.671,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68159,
    "c": 0.17843,
    "h": 310.5
  },
  "luminance": 0.28939
}

Semantic roles & 50–950 ramp

primary
#BB74E9
secondary
#D9EECB
accent
#D5115E
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB74E9

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

Preview Lab → · Contrast checker → · Palette generator →

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