#BB74E7#BB74E7

#BB74E7 is a light, vivid violet. Relative luminance 0.288; OKLCH L 68.1% C 0.176 H 311.0°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#BB74E7
RGBrgb(187, 116, 231)
HSLhsl(277, 71%, 68%)
HSVhsv(277, 50%, 91%)
CMYKcmyk(19%, 49.8%, 0%, 9.4%)
CIE-LABlab(60.63, 47.99, -47.58)
CIE-LCHlch(60.63, 67.58, 315.24°)
OKLaboklab(68.05% 0.1157 -0.1329)
OKLCHoklch(68.05% 0.176 311)
XYZxyz(41.1601, 28.8259, 78.9815)
Luminance0.2883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB74E7 #A0E774
analogous
#8174E7 #BB74E7 #E774DA
triadic
#BB74E7 #E7BB74 #74E7BB
tetradic
#BB74E7 #E78174 #A0E774 #74DAE7
square
#BB74E7 #E78174 #A0E774 #74DAE7
split-complementary
#BB74E7 #DAE774 #74E781
monochromatic
#8321C0 #A140DE #BB74E7 #D5A8F0 #EEDCF9

Accessibility & contrast

On white

3.10
#BB74E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#BB74E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB74E7
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB74E7#FFFFFF#000000##000000
##BB74E71.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#578FEB
Deuteranopia (green-blind)
#6C94E4
Tritanopia (blue-blind)
#B687A3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #bb74e7;
/* rgb */ color: rgb(187, 116, 231);
/* oklch */ color: oklch(68.1% 0.176 311.0);
Tailwind
colors: {
  custom: {
    50: '#d29eef',
    500: '#bb74e7',
    950: '#000000',
  },
}
SCSS
$custom: #bb74e7;
$custom-light: #d29eef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb74e7",
  "rgb": {
    "r": 187,
    "g": 116,
    "b": 231
  },
  "hsl": {
    "h": 277.043,
    "s": 70.552,
    "l": 68.039
  },
  "oklch": {
    "l": 0.68052,
    "c": 0.17619,
    "h": 311
  },
  "luminance": 0.28825
}

Semantic roles & 50–950 ramp

primary
#BB74E7
secondary
#D7EDCA
accent
#D3135C
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BB74E7

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

Preview Lab → · Contrast checker → · Palette generator →

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