#BB74EE#BB74EE

#BB74EE is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.4% C 0.184 H 309.2°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#BB74EE
RGBrgb(187, 116, 238)
HSLhsl(275, 78%, 69%)
HSVhsv(275, 51%, 93%)
CMYKcmyk(21.4%, 51.3%, 0%, 6.7%)
CIE-LABlab(60.98, 49.52, -50.91)
CIE-LCHlch(60.98, 71.02, 314.21°)
OKLaboklab(68.43% 0.1164 -0.1426)
OKLCHoklch(68.43% 0.184 309.2)
XYZxyz(42.1686, 29.2293, 84.2927)
Luminance0.2923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB74EE #A7EE74
analogous
#7E74EE #BB74EE #EE74E4
triadic
#BB74EE #EEBB74 #74EEBB
tetradic
#BB74EE #EE7E74 #A7EE74 #74E4EE
square
#BB74EE #EE7E74 #A7EE74 #74E4EE
split-complementary
#BB74EE #E4EE74 #74EE7E
monochromatic
#8319CE #A03DE7 #BB74EE #D6ABF5 #F0E1FB

Accessibility & contrast

On white

3.07
#BB74EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#BB74EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB74EE
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB74EE#FFFFFF#000000##000000
##BB74EE1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F2
Deuteranopia (green-blind)
#6894EB
Tritanopia (blue-blind)
#B489A6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #bb74ee;
/* rgb */ color: rgb(187, 116, 238);
/* oklch */ color: oklch(68.4% 0.184 309.2);
Tailwind
colors: {
  custom: {
    50: '#d29ef4',
    500: '#bb74ee',
    950: '#000000',
  },
}
SCSS
$custom: #bb74ee;
$custom-light: #d29ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb74ee",
  "rgb": {
    "r": 187,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 274.918,
    "s": 78.205,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68431,
    "c": 0.18403,
    "h": 309.2
  },
  "luminance": 0.29229
}

Semantic roles & 50–950 ramp

primary
#BB74EE
secondary
#DCF0CD
accent
#DA0B62
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB74EE

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

Preview Lab → · Contrast checker → · Palette generator →

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