#BB74E4#BB74E4

#BB74E4 is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.9% C 0.173 H 311.9°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#BB74E4
RGBrgb(187, 116, 228)
HSLhsl(278, 67%, 67%)
HSVhsv(278, 49%, 89%)
CMYKcmyk(18%, 49.1%, 0%, 10.6%)
CIE-LABlab(60.48, 47.34, -46.15)
CIE-LCHlch(60.48, 66.11, 315.73°)
OKLaboklab(67.89% 0.1154 -0.1287)
OKLCHoklch(67.89% 0.173 311.9)
XYZxyz(40.7400, 28.6579, 76.7691)
Luminance0.2866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB74E4 #9DE474
analogous
#8374E4 #BB74E4 #E474D5
triadic
#BB74E4 #E4BB74 #74E4BB
tetradic
#BB74E4 #E48374 #9DE474 #74D5E4
square
#BB74E4 #E48374 #9DE474 #74D5E4
split-complementary
#BB74E4 #D5E474 #74E483
monochromatic
#8324BA #A241DA #BB74E4 #D4A7EE #EDDAF8

Accessibility & contrast

On white

3.12
#BB74E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#BB74E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB74E4
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB74E4#FFFFFF#000000##000000
##BB74E41.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#598EE8
Deuteranopia (green-blind)
#6E93E1
Tritanopia (blue-blind)
#B786A2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #bb74e4;
/* rgb */ color: rgb(187, 116, 228);
/* oklch */ color: oklch(67.9% 0.173 311.9);
Tailwind
colors: {
  custom: {
    50: '#d29eed',
    500: '#bb74e4',
    950: '#000000',
  },
}
SCSS
$custom: #bb74e4;
$custom-light: #d29eed;
$custom-dark: #000000;
JSON
{
  "hex": "#bb74e4",
  "rgb": {
    "r": 187,
    "g": 116,
    "b": 228
  },
  "hsl": {
    "h": 278.036,
    "s": 67.47,
    "l": 67.451
  },
  "oklch": {
    "l": 0.67893,
    "c": 0.17284,
    "h": 311.9
  },
  "luminance": 0.28657
}

Semantic roles & 50–950 ramp

primary
#BB74E4
secondary
#D5EBC8
accent
#CF165A
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BB74E4

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

Preview Lab → · Contrast checker → · Palette generator →

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