#BB74EA#BB74EA

#BB74EA is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.2% C 0.180 H 310.2°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#BB74EA
RGBrgb(187, 116, 234)
HSLhsl(276, 74%, 69%)
HSVhsv(276, 50%, 92%)
CMYKcmyk(20.1%, 50.4%, 0%, 8.2%)
CIE-LABlab(60.78, 48.64, -49.02)
CIE-LCHlch(60.78, 69.06, 314.78°)
OKLaboklab(68.21% 0.116 -0.137)
OKLCHoklch(68.21% 0.18 310.2)
XYZxyz(41.5874, 28.9968, 81.2321)
Luminance0.2900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB74EA #A3EA74
analogous
#8074EA #BB74EA #EA74DE
triadic
#BB74EA #EABB74 #74EABB
tetradic
#BB74EA #EA8074 #A3EA74 #74DEEA
square
#BB74EA #EA8074 #A3EA74 #74DEEA
split-complementary
#BB74EA #DEEA74 #74EA80
monochromatic
#831EC6 #A13FE2 #BB74EA #D5A9F2 #EFDEFA

Accessibility & contrast

On white

3.09
#BB74EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#BB74EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB74EA
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB74EA#FFFFFF#000000##000000
##BB74EA1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#558FEE
Deuteranopia (green-blind)
#6A94E7
Tritanopia (blue-blind)
#B588A4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #bb74ea;
/* rgb */ color: rgb(187, 116, 234);
/* oklch */ color: oklch(68.2% 0.180 310.2);
Tailwind
colors: {
  custom: {
    50: '#d29ef1',
    500: '#bb74ea',
    950: '#000000',
  },
}
SCSS
$custom: #bb74ea;
$custom-light: #d29ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb74ea",
  "rgb": {
    "r": 187,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 276.102,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.68213,
    "c": 0.17954,
    "h": 310.2
  },
  "luminance": 0.28996
}

Semantic roles & 50–950 ramp

primary
#BB74EA
secondary
#D9EFCB
accent
#D6105F
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB74EA

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

Preview Lab → · Contrast checker → · Palette generator →

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