#BB74F6#BB74F6

#BB74F6 is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.9% C 0.193 H 307.3°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#BB74F6
RGBrgb(187, 116, 246)
HSLhsl(273, 88%, 71%)
HSVhsv(273, 53%, 96%)
CMYKcmyk(24%, 52.8%, 0%, 3.5%)
CIE-LABlab(61.40, 51.30, -54.67)
CIE-LCHlch(61.40, 74.97, 313.18°)
OKLaboklab(68.88% 0.117 -0.1536)
OKLCHoklch(68.88% 0.193 307.3)
XYZxyz(43.3701, 29.7099, 90.6207)
Luminance0.2971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB74F6 #AFF674
analogous
#7A74F6 #BB74F6 #F674F0
triadic
#BB74F6 #F6BB74 #74F6BB
tetradic
#BB74F6 #F67A74 #AFF674 #74F0F6
square
#BB74F6 #F67A74 #AFF674 #74F0F6
split-complementary
#BB74F6 #F0F674 #74F67A
monochromatic
#820FE1 #9F3BF2 #BB74F6 #D7ADFA #F1E2FD

Accessibility & contrast

On white

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

On black

6.94
#BB74F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB74F6
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB74F6#FFFFFF#000000##000000
##BB74F61.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B92FA
Deuteranopia (green-blind)
#6295F3
Tritanopia (blue-blind)
#B28BAA
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #bb74f6;
/* rgb */ color: rgb(187, 116, 246);
/* oklch */ color: oklch(68.9% 0.193 307.3);
Tailwind
colors: {
  custom: {
    50: '#d29efa',
    500: '#bb74f6',
    950: '#000000',
  },
}
SCSS
$custom: #bb74f6;
$custom-light: #d29efa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb74f6",
  "rgb": {
    "r": 187,
    "g": 116,
    "b": 246
  },
  "hsl": {
    "h": 272.769,
    "s": 87.838,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68877,
    "c": 0.19302,
    "h": 307.3
  },
  "luminance": 0.29709
}

Semantic roles & 50–950 ramp

primary
#BB74F6
secondary
#E1F4D2
accent
#E40168
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F17
muted
#837E85

Preview Lab

Preview with #BB74F6

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

Preview Lab → · Contrast checker → · Palette generator →

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