#BB74F1#BB74F1

#BB74F1 is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.6% C 0.187 H 308.5°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#BB74F1
RGBrgb(187, 116, 241)
HSLhsl(274, 82%, 70%)
HSVhsv(274, 52%, 95%)
CMYKcmyk(22.4%, 51.9%, 0%, 5.5%)
CIE-LABlab(61.14, 50.19, -52.33)
CIE-LCHlch(61.14, 72.50, 313.80°)
OKLaboklab(68.6% 0.1166 -0.1467)
OKLCHoklch(68.6% 0.187 308.5)
XYZxyz(42.6130, 29.4070, 86.6333)
Luminance0.2941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB74F1 #AAF174
analogous
#7D74F1 #BB74F1 #F174E8
triadic
#BB74F1 #F1BB74 #74F1BB
tetradic
#BB74F1 #F17D74 #AAF174 #74E8F1
square
#BB74F1 #F17D74 #AAF174 #74E8F1
split-complementary
#BB74F1 #E8F174 #74F17D
monochromatic
#8215D5 #A03CEB #BB74F1 #D6ACF7 #F1E3FC

Accessibility & contrast

On white

3.05
#BB74F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#BB74F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB74F1
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB74F1#FFFFFF#000000##000000
##BB74F11.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5091F5
Deuteranopia (green-blind)
#6695EE
Tritanopia (blue-blind)
#B38AA8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #bb74f1;
/* rgb */ color: rgb(187, 116, 241);
/* oklch */ color: oklch(68.6% 0.187 308.5);
Tailwind
colors: {
  custom: {
    50: '#d29ef6',
    500: '#bb74f1',
    950: '#000000',
  },
}
SCSS
$custom: #bb74f1;
$custom-light: #d29ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb74f1",
  "rgb": {
    "r": 187,
    "g": 116,
    "b": 241
  },
  "hsl": {
    "h": 274.08,
    "s": 81.699,
    "l": 70
  },
  "oklch": {
    "l": 0.68597,
    "c": 0.1874,
    "h": 308.5
  },
  "luminance": 0.29406
}

Semantic roles & 50–950 ramp

primary
#BB74F1
secondary
#DEF2CF
accent
#DE0764
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140F17
muted
#837E85

Preview Lab

Preview with #BB74F1

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

Preview Lab → · Contrast checker → · Palette generator →

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