#BB74EC#BB74EC

#BB74EC is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.3% C 0.182 H 309.7°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#BB74EC
RGBrgb(187, 116, 236)
HSLhsl(276, 76%, 69%)
HSVhsv(276, 51%, 93%)
CMYKcmyk(20.8%, 50.8%, 0%, 7.5%)
CIE-LABlab(60.88, 49.08, -49.97)
CIE-LCHlch(60.88, 70.04, 314.49°)
OKLaboklab(68.32% 0.1162 -0.1398)
OKLCHoklch(68.32% 0.182 309.7)
XYZxyz(41.8764, 29.1124, 82.7538)
Luminance0.2911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB74EC #A5EC74
analogous
#7F74EC #BB74EC #EC74E1
triadic
#BB74EC #ECBB74 #74ECBB
tetradic
#BB74EC #EC7F74 #A5EC74 #74E1EC
square
#BB74EC #EC7F74 #A5EC74 #74E1EC
split-complementary
#BB74EC #E1EC74 #74EC7F
monochromatic
#831CCA #A13EE5 #BB74EC #D5AAF3 #F0E0FB

Accessibility & contrast

On white

3.08
#BB74EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#BB74EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB74EC
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB74EC#FFFFFF#000000##000000
##BB74EC1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5490F0
Deuteranopia (green-blind)
#6994E9
Tritanopia (blue-blind)
#B588A5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #bb74ec;
/* rgb */ color: rgb(187, 116, 236);
/* oklch */ color: oklch(68.3% 0.182 309.7);
Tailwind
colors: {
  custom: {
    50: '#d29ef2',
    500: '#bb74ec',
    950: '#000000',
  },
}
SCSS
$custom: #bb74ec;
$custom-light: #d29ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb74ec",
  "rgb": {
    "r": 187,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 275.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68322,
    "c": 0.18179,
    "h": 309.7
  },
  "luminance": 0.29112
}

Semantic roles & 50–950 ramp

primary
#BB74EC
secondary
#DBEFCC
accent
#D80D60
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB74EC

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

Preview Lab → · Contrast checker → · Palette generator →

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