#BB74F5#BB74F5

#BB74F5 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.8% C 0.192 H 307.5°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#BB74F5
RGBrgb(187, 116, 245)
HSLhsl(273, 87%, 71%)
HSVhsv(273, 53%, 96%)
CMYKcmyk(23.7%, 52.7%, 0%, 3.9%)
CIE-LABlab(61.35, 51.08, -54.21)
CIE-LCHlch(61.35, 74.48, 313.30°)
OKLaboklab(68.82% 0.1169 -0.1522)
OKLCHoklch(68.82% 0.192 307.5)
XYZxyz(43.2170, 29.6487, 89.8146)
Luminance0.2965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB74F5 #AEF574
analogous
#7A74F5 #BB74F5 #F574EF
triadic
#BB74F5 #F5BB74 #74F5BB
tetradic
#BB74F5 #F57A74 #AEF574 #74EFF5
square
#BB74F5 #F57A74 #AEF574 #74EFF5
split-complementary
#BB74F5 #EFF574 #74F57A
monochromatic
#8210DF #9F3BF1 #BB74F5 #D7ADF9 #F1E2FD

Accessibility & contrast

On white

3.03
#BB74F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#BB74F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB74F5
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB74F5#FFFFFF#000000##000000
##BB74F51.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C91F9
Deuteranopia (green-blind)
#6395F2
Tritanopia (blue-blind)
#B28BAA
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #bb74f5;
/* rgb */ color: rgb(187, 116, 245);
/* oklch */ color: oklch(68.8% 0.192 307.5);
Tailwind
colors: {
  custom: {
    50: '#d29ef9',
    500: '#bb74f5',
    950: '#000000',
  },
}
SCSS
$custom: #bb74f5;
$custom-light: #d29ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb74f5",
  "rgb": {
    "r": 187,
    "g": 116,
    "b": 245
  },
  "hsl": {
    "h": 273.023,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68821,
    "c": 0.19189,
    "h": 307.5
  },
  "luminance": 0.29648
}

Semantic roles & 50–950 ramp

primary
#BB74F5
secondary
#E1F4D1
accent
#E30267
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F17
muted
#837E85

Preview Lab

Preview with #BB74F5

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

Preview Lab → · Contrast checker → · Palette generator →

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