#BB74E8#BB74E8

#BB74E8 is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.1% C 0.177 H 310.8°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#BB74E8
RGBrgb(187, 116, 232)
HSLhsl(277, 72%, 68%)
HSVhsv(277, 50%, 91%)
CMYKcmyk(19.4%, 50%, 0%, 9%)
CIE-LABlab(60.68, 48.21, -48.06)
CIE-LCHlch(60.68, 68.07, 315.09°)
OKLaboklab(68.11% 0.1158 -0.1343)
OKLCHoklch(68.11% 0.177 310.8)
XYZxyz(41.3017, 28.8825, 79.7274)
Luminance0.2888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB74E8 #A1E874
analogous
#8174E8 #BB74E8 #E874DB
triadic
#BB74E8 #E8BB74 #74E8BB
tetradic
#BB74E8 #E88174 #A1E874 #74DBE8
square
#BB74E8 #E88174 #A1E874 #74DBE8
split-complementary
#BB74E8 #DBE874 #74E881
monochromatic
#8320C2 #A13FDF #BB74E8 #D5A9F1 #EEDDF9

Accessibility & contrast

On white

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

On black

6.78
#BB74E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB74E8
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB74E8#FFFFFF#000000##000000
##BB74E81.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb74e8;
/* rgb */ color: rgb(187, 116, 232);
/* oklch */ color: oklch(68.1% 0.177 310.8);
Tailwind
colors: {
  custom: {
    50: '#d29ef0',
    500: '#bb74e8',
    950: '#000000',
  },
}
SCSS
$custom: #bb74e8;
$custom-light: #d29ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb74e8",
  "rgb": {
    "r": 187,
    "g": 116,
    "b": 232
  },
  "hsl": {
    "h": 276.724,
    "s": 71.605,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68106,
    "c": 0.17732,
    "h": 310.8
  },
  "luminance": 0.28882
}

Semantic roles & 50–950 ramp

primary
#BB74E8
secondary
#D8EDCA
accent
#D4125D
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BB74E8

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

Preview Lab → · Contrast checker → · Palette generator →

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