#BB74E6#BB74E6

#BB74E6 is a light, vivid violet. Relative luminance 0.288; OKLCH L 68.0% C 0.175 H 311.3°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#BB74E6
RGBrgb(187, 116, 230)
HSLhsl(277, 70%, 68%)
HSVhsv(277, 50%, 90%)
CMYKcmyk(18.7%, 49.6%, 0%, 9.8%)
CIE-LABlab(60.58, 47.77, -47.11)
CIE-LCHlch(60.58, 67.09, 315.40°)
OKLaboklab(68% 0.1156 -0.1315)
OKLCHoklch(68% 0.175 311.3)
XYZxyz(41.0193, 28.7696, 78.2398)
Luminance0.2877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB74E6 #9FE674
analogous
#8274E6 #BB74E6 #E674D8
triadic
#BB74E6 #E6BB74 #74E6BB
tetradic
#BB74E6 #E68274 #9FE674 #74D8E6
square
#BB74E6 #E68274 #9FE674 #74D8E6
split-complementary
#BB74E6 #D8E674 #74E682
monochromatic
#8322BE #A240DD #BB74E6 #D4A8EF #EEDCF9

Accessibility & contrast

On white

3.11
#BB74E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#BB74E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB74E6
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB74E6#FFFFFF#000000##000000
##BB74E61.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#588FEA
Deuteranopia (green-blind)
#6D94E3
Tritanopia (blue-blind)
#B687A2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #bb74e6;
/* rgb */ color: rgb(187, 116, 230);
/* oklch */ color: oklch(68.0% 0.175 311.3);
Tailwind
colors: {
  custom: {
    50: '#d29eee',
    500: '#bb74e6',
    950: '#000000',
  },
}
SCSS
$custom: #bb74e6;
$custom-light: #d29eee;
$custom-dark: #000000;
JSON
{
  "hex": "#bb74e6",
  "rgb": {
    "r": 187,
    "g": 116,
    "b": 230
  },
  "hsl": {
    "h": 277.368,
    "s": 69.512,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67999,
    "c": 0.17508,
    "h": 311.3
  },
  "luminance": 0.28769
}

Semantic roles & 50–950 ramp

primary
#BB74E6
secondary
#D7ECC9
accent
#D1145B
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BB74E6

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

Preview Lab → · Contrast checker → · Palette generator →

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