#BB74EB#BB74EB

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

Color values

HEX#BB74EB
RGBrgb(187, 116, 235)
HSLhsl(276, 75%, 69%)
HSVhsv(276, 51%, 92%)
CMYKcmyk(20.4%, 50.6%, 0%, 7.8%)
CIE-LABlab(60.83, 48.86, -49.49)
CIE-LCHlch(60.83, 69.55, 314.63°)
OKLaboklab(68.27% 0.1161 -0.1384)
OKLCHoklch(68.27% 0.181 310)
XYZxyz(41.7315, 29.0544, 81.9908)
Luminance0.2905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB74EB #A4EB74
analogous
#8074EB #BB74EB #EB74E0
triadic
#BB74EB #EBBB74 #74EBBB
tetradic
#BB74EB #EB8074 #A4EB74 #74E0EB
square
#BB74EB #EB8074 #A4EB74 #74E0EB
split-complementary
#BB74EB #E0EB74 #74EB80
monochromatic
#831DC8 #A13EE3 #BB74EB #D5AAF3 #EFDFFA

Accessibility & contrast

On white

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

On black

6.81
#BB74EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB74EB
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB74EB#FFFFFF#000000##000000
##BB74EB1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEF
Deuteranopia (green-blind)
#6A94E8
Tritanopia (blue-blind)
#B588A5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #bb74eb;
/* rgb */ color: rgb(187, 116, 235);
/* oklch */ color: oklch(68.3% 0.181 310.0);
Tailwind
colors: {
  custom: {
    50: '#d29ef2',
    500: '#bb74eb',
    950: '#000000',
  },
}
SCSS
$custom: #bb74eb;
$custom-light: #d29ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb74eb",
  "rgb": {
    "r": 187,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 275.798,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68267,
    "c": 0.18066,
    "h": 310
  },
  "luminance": 0.29054
}

Semantic roles & 50–950 ramp

primary
#BB74EB
secondary
#DAEFCC
accent
#D70F5F
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB74EB

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

Preview Lab → · Contrast checker → · Palette generator →

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