#BB74EF#BB74EF

#BB74EF is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.5% C 0.185 H 309.0°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#BB74EF
RGBrgb(187, 116, 239)
HSLhsl(275, 79%, 70%)
HSVhsv(275, 51%, 94%)
CMYKcmyk(21.8%, 51.5%, 0%, 6.3%)
CIE-LABlab(61.04, 49.74, -51.39)
CIE-LCHlch(61.04, 71.52, 314.07°)
OKLaboklab(68.49% 0.1164 -0.1439)
OKLCHoklch(68.49% 0.185 309)
XYZxyz(42.3159, 29.2882, 85.0686)
Luminance0.2929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB74EF #A8EF74
analogous
#7E74EF #BB74EF #EF74E6
triadic
#BB74EF #EFBB74 #74EFBB
tetradic
#BB74EF #EF7E74 #A8EF74 #74E6EF
square
#BB74EF #EF7E74 #A8EF74 #74E6EF
split-complementary
#BB74EF #E6EF74 #74EF7E
monochromatic
#8318D1 #A03DE9 #BB74EF #D6ABF5 #F1E2FC

Accessibility & contrast

On white

3.06
#BB74EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#BB74EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB74EF
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB74EF#FFFFFF#000000##000000
##BB74EF1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5190F3
Deuteranopia (green-blind)
#6794EC
Tritanopia (blue-blind)
#B489A7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #bb74ef;
/* rgb */ color: rgb(187, 116, 239);
/* oklch */ color: oklch(68.5% 0.185 309.0);
Tailwind
colors: {
  custom: {
    50: '#d29ef5',
    500: '#bb74ef',
    950: '#000000',
  },
}
SCSS
$custom: #bb74ef;
$custom-light: #d29ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb74ef",
  "rgb": {
    "r": 187,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 274.634,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68486,
    "c": 0.18515,
    "h": 309
  },
  "luminance": 0.29288
}

Semantic roles & 50–950 ramp

primary
#BB74EF
secondary
#DDF1CE
accent
#DC0A63
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140F17
muted
#837E85

Preview Lab

Preview with #BB74EF

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

Preview Lab → · Contrast checker → · Palette generator →

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