#BB70EC#BB70EC

#BB70EC is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.7% C 0.188 H 310.2°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#BB70EC
RGBrgb(187, 112, 236)
HSLhsl(276, 77%, 68%)
HSVhsv(276, 53%, 93%)
CMYKcmyk(20.8%, 52.5%, 0%, 7.5%)
CIE-LABlab(60.08, 51.17, -51.24)
CIE-LCHlch(60.08, 72.41, 314.96°)
OKLaboklab(67.73% 0.1214 -0.1435)
OKLCHoklch(67.73% 0.188 310.2)
XYZxyz(41.4252, 28.2100, 82.6034)
Luminance0.2821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB70EC #A1EC70
analogous
#7D70EC #BB70EC #EC70DF
triadic
#BB70EC #ECBB70 #70ECBB
tetradic
#BB70EC #EC7D70 #A1EC70 #70DFEC
square
#BB70EC #EC7D70 #A1EC70 #70DFEC
split-complementary
#BB70EC #DFEC70 #70EC7D
monochromatic
#831AC7 #A13AE5 #BB70EC #D5A6F3 #EEDCFA

Accessibility & contrast

On white

3.16
#BB70EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#BB70EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB70EC
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB70EC#FFFFFF#000000##000000
##BB70EC1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8DF0
Deuteranopia (green-blind)
#6592E9
Tritanopia (blue-blind)
#B585A4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #bb70ec;
/* rgb */ color: rgb(187, 112, 236);
/* oklch */ color: oklch(67.7% 0.188 310.2);
Tailwind
colors: {
  custom: {
    50: '#d29bf3',
    500: '#bb70ec',
    950: '#000000',
  },
}
SCSS
$custom: #bb70ec;
$custom-light: #d29bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb70ec",
  "rgb": {
    "r": 187,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 276.29,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67729,
    "c": 0.188,
    "h": 310.2
  },
  "luminance": 0.28209
}

Semantic roles & 50–950 ramp

primary
#BB70EC
secondary
#D8EFC9
accent
#D90D5D
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB70EC

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

Preview Lab → · Contrast checker → · Palette generator →

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