#BB74FB#BB74FB

#BB74FB is a light, vivid violet. Relative luminance 0.300; OKLCH L 69.2% C 0.199 H 306.2°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#BB74FB
RGBrgb(187, 116, 251)
HSLhsl(272, 94%, 72%)
HSVhsv(272, 54%, 98%)
CMYKcmyk(25.5%, 53.8%, 0%, 1.6%)
CIE-LABlab(61.67, 52.43, -57.00)
CIE-LCHlch(61.67, 77.45, 312.61°)
OKLaboklab(69.16% 0.1172 -0.1604)
OKLCHoklch(69.16% 0.199 306.2)
XYZxyz(44.1479, 30.0210, 94.7170)
Luminance0.3002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB74FB #B4FB74
analogous
#7874FB #BB74FB #FB74F7
triadic
#BB74FB #FBBB74 #74FBBB
tetradic
#BB74FB #FB7874 #B4FB74 #74F7FB
square
#BB74FB #FB7874 #B4FB74 #74F7FB
split-complementary
#BB74FB #F7FB74 #74FB78
monochromatic
#8007EE #9E39F9 #BB74FB #D8AFFD #F0E1FE

Accessibility & contrast

On white

3.00
#BB74FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#BB74FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB74FB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB74FB#FFFFFF#000000##000000
##BB74FB1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4693FF
Deuteranopia (green-blind)
#5E95F8
Tritanopia (blue-blind)
#B18DAD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bb74fb;
/* rgb */ color: rgb(187, 116, 251);
/* oklch */ color: oklch(69.2% 0.199 306.2);
Tailwind
colors: {
  custom: {
    50: '#d39efd',
    500: '#bb74fb',
    950: '#000000',
  },
}
SCSS
$custom: #bb74fb;
$custom-light: #d39efd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb74fb",
  "rgb": {
    "r": 187,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 271.556,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69163,
    "c": 0.19863,
    "h": 306.2
  },
  "luminance": 0.30021
}

Semantic roles & 50–950 ramp

primary
#BB74FB
secondary
#E5F6D4
accent
#E6006D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F18
muted
#837E86

Preview Lab

Preview with #BB74FB

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

Preview Lab → · Contrast checker → · Palette generator →

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