#BB68EC#BB68EC

#BB68EC is a light, highly saturated violet. Relative luminance 0.265; OKLCH L 66.6% C 0.200 H 311.2°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#BB68EC
RGBrgb(187, 104, 236)
HSLhsl(278, 78%, 67%)
HSVhsv(278, 56%, 93%)
CMYKcmyk(20.8%, 55.9%, 0%, 7.5%)
CIE-LABlab(58.53, 55.25, -53.70)
CIE-LCHlch(58.53, 77.05, 315.82°)
OKLaboklab(66.59% 0.1317 -0.1507)
OKLCHoklch(66.59% 0.2 311.2)
XYZxyz(40.5814, 26.5224, 82.3222)
Luminance0.2652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB68EC #99EC68
analogous
#7968EC #BB68EC #EC68DB
triadic
#BB68EC #ECBB68 #68ECBB
tetradic
#BB68EC #EC7968 #99EC68 #68DBEC
square
#BB68EC #EC7968 #99EC68 #68DBEC
split-complementary
#BB68EC #DBEC68 #68EC79
monochromatic
#8318C1 #A332E5 #BB68EC #D39EF3 #ECD5FA

Accessibility & contrast

On white

3.33
#BB68EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#BB68EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB68EC
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB68EC#FFFFFF#000000##000000
##BB68EC1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F89F0
Deuteranopia (green-blind)
#5D8EE9
Tritanopia (blue-blind)
#B57FA0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #bb68ec;
/* rgb */ color: rgb(187, 104, 236);
/* oklch */ color: oklch(66.6% 0.200 311.2);
Tailwind
colors: {
  custom: {
    50: '#d296f3',
    500: '#bb68ec',
    950: '#000000',
  },
}
SCSS
$custom: #bb68ec;
$custom-light: #d296f3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb68ec",
  "rgb": {
    "r": 187,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 277.727,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6659,
    "c": 0.20011,
    "h": 311.2
  },
  "luminance": 0.26522
}

Semantic roles & 50–950 ramp

primary
#BB68EC
secondary
#D2EDC3
accent
#DA0C58
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB68EC

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

Preview Lab → · Contrast checker → · Palette generator →

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