#BB74E1#BB74E1

#BB74E1 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.7% C 0.170 H 312.7°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#BB74E1
RGBrgb(187, 116, 225)
HSLhsl(279, 64%, 67%)
HSVhsv(279, 48%, 88%)
CMYKcmyk(16.9%, 48.4%, 0%, 11.8%)
CIE-LABlab(60.33, 46.70, -44.71)
CIE-LCHlch(60.33, 64.65, 316.25°)
OKLaboklab(67.74% 0.115 -0.1245)
OKLCHoklch(67.74% 0.17 312.7)
XYZxyz(40.3272, 28.4927, 74.5948)
Luminance0.2849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB74E1 #9AE174
analogous
#8574E1 #BB74E1 #E174D0
triadic
#BB74E1 #E1BB74 #74E1BB
tetradic
#BB74E1 #E18574 #9AE174 #74D0E1
square
#BB74E1 #E18574 #9AE174 #74D0E1
split-complementary
#BB74E1 #D0E174 #74E185
monochromatic
#8327B4 #A242D6 #BB74E1 #D4A6EC #ECD9F7

Accessibility & contrast

On white

3.14
#BB74E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#BB74E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB74E1
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB74E1#FFFFFF#000000##000000
##BB74E11.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8EE5
Deuteranopia (green-blind)
#7093DE
Tritanopia (blue-blind)
#B785A0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #bb74e1;
/* rgb */ color: rgb(187, 116, 225);
/* oklch */ color: oklch(67.7% 0.170 312.7);
Tailwind
colors: {
  custom: {
    50: '#d19eeb',
    500: '#bb74e1',
    950: '#000000',
  },
}
SCSS
$custom: #bb74e1;
$custom-light: #d19eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb74e1",
  "rgb": {
    "r": 187,
    "g": 116,
    "b": 225
  },
  "hsl": {
    "h": 279.083,
    "s": 64.497,
    "l": 66.863
  },
  "oklch": {
    "l": 0.67736,
    "c": 0.16951,
    "h": 312.7
  },
  "luminance": 0.28492
}

Semantic roles & 50–950 ramp

primary
#BB74E1
secondary
#D3EAC7
accent
#CC1958
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BB74E1

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

Preview Lab → · Contrast checker → · Palette generator →

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