#BB74F2#BB74F2

#BB74F2 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.7% C 0.189 H 308.2°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#BB74F2
RGBrgb(187, 116, 242)
HSLhsl(274, 83%, 70%)
HSVhsv(274, 52%, 95%)
CMYKcmyk(22.7%, 52.1%, 0%, 5.1%)
CIE-LABlab(61.19, 50.41, -52.80)
CIE-LCHlch(61.19, 73.00, 313.67°)
OKLaboklab(68.65% 0.1167 -0.1481)
OKLCHoklch(68.65% 0.189 308.2)
XYZxyz(42.7628, 29.4670, 87.4221)
Luminance0.2947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB74F2 #ABF274
analogous
#7C74F2 #BB74F2 #F274EA
triadic
#BB74F2 #F2BB74 #74F2BB
tetradic
#BB74F2 #F27C74 #ABF274 #74EAF2
square
#BB74F2 #F27C74 #ABF274 #74EAF2
split-complementary
#BB74F2 #EAF274 #74F27C
monochromatic
#8214D7 #A03CED #BB74F2 #D6ACF7 #F1E3FC

Accessibility & contrast

On white

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

On black

6.89
#BB74F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB74F2
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB74F2#FFFFFF#000000##000000
##BB74F21.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F91F6
Deuteranopia (green-blind)
#6595EF
Tritanopia (blue-blind)
#B38AA8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #bb74f2;
/* rgb */ color: rgb(187, 116, 242);
/* oklch */ color: oklch(68.7% 0.189 308.2);
Tailwind
colors: {
  custom: {
    50: '#d29ef7',
    500: '#bb74f2',
    950: '#000000',
  },
}
SCSS
$custom: #bb74f2;
$custom-light: #d29ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb74f2",
  "rgb": {
    "r": 187,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 273.81,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68653,
    "c": 0.18852,
    "h": 308.2
  },
  "luminance": 0.29466
}

Semantic roles & 50–950 ramp

primary
#BB74F2
secondary
#DFF2CF
accent
#DF0665
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F17
muted
#837E85

Preview Lab

Preview with #BB74F2

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

Preview Lab → · Contrast checker → · Palette generator →

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