#BB74E2#BB74E2

#BB74E2 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.8% C 0.171 H 312.4°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#BB74E2
RGBrgb(187, 116, 226)
HSLhsl(279, 65%, 67%)
HSVhsv(279, 49%, 89%)
CMYKcmyk(17.3%, 48.7%, 0%, 11.4%)
CIE-LABlab(60.38, 46.91, -45.19)
CIE-LCHlch(60.38, 65.14, 316.07°)
OKLaboklab(67.79% 0.1151 -0.1259)
OKLCHoklch(67.79% 0.171 312.4)
XYZxyz(40.4640, 28.5475, 75.3154)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB74E2 #9BE274
analogous
#8474E2 #BB74E2 #E274D2
triadic
#BB74E2 #E2BB74 #74E2BB
tetradic
#BB74E2 #E28474 #9BE274 #74D2E2
square
#BB74E2 #E28474 #9BE274 #74D2E2
split-complementary
#BB74E2 #D2E274 #74E284
monochromatic
#8326B6 #A241D7 #BB74E2 #D4A7ED #EDD9F7

Accessibility & contrast

On white

3.13
#BB74E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#BB74E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB74E2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB74E2#FFFFFF#000000##000000
##BB74E21.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8EE6
Deuteranopia (green-blind)
#6F93DF
Tritanopia (blue-blind)
#B785A1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #bb74e2;
/* rgb */ color: rgb(187, 116, 226);
/* oklch */ color: oklch(67.8% 0.171 312.4);
Tailwind
colors: {
  custom: {
    50: '#d19eeb',
    500: '#bb74e2',
    950: '#000000',
  },
}
SCSS
$custom: #bb74e2;
$custom-light: #d19eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb74e2",
  "rgb": {
    "r": 187,
    "g": 116,
    "b": 226
  },
  "hsl": {
    "h": 278.727,
    "s": 65.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.67788,
    "c": 0.17062,
    "h": 312.4
  },
  "luminance": 0.28547
}

Semantic roles & 50–950 ramp

primary
#BB74E2
secondary
#D4EAC7
accent
#CD1858
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BB74E2

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

Preview Lab → · Contrast checker → · Palette generator →

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