#BB68EB#BB68EB

#BB68EB is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.5% C 0.199 H 311.4°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#BB68EB
RGBrgb(187, 104, 235)
HSLhsl(278, 77%, 66%)
HSVhsv(278, 56%, 92%)
CMYKcmyk(20.4%, 55.7%, 0%, 7.8%)
CIE-LABlab(58.48, 55.04, -53.23)
CIE-LCHlch(58.48, 76.57, 315.96°)
OKLaboklab(66.53% 0.1317 -0.1493)
OKLCHoklch(66.53% 0.199 311.4)
XYZxyz(40.4365, 26.4645, 81.5592)
Luminance0.2646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB68EB #98EB68
analogous
#7A68EB #BB68EB #EB68DA
triadic
#BB68EB #EBBB68 #68EBBB
tetradic
#BB68EB #EB7A68 #98EB68 #68DAEB
square
#BB68EB #EB7A68 #98EB68 #68DAEB
split-complementary
#BB68EB #DAEB68 #68EB7A
monochromatic
#8219BF #A332E4 #BB68EB #D39EF2 #ECD4F9

Accessibility & contrast

On white

3.34
#BB68EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#BB68EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB68EB
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB68EB#FFFFFF#000000##000000
##BB68EB1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4088EF
Deuteranopia (green-blind)
#5E8EE8
Tritanopia (blue-blind)
#B57FA0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #bb68eb;
/* rgb */ color: rgb(187, 104, 235);
/* oklch */ color: oklch(66.5% 0.199 311.4);
Tailwind
colors: {
  custom: {
    50: '#d296f2',
    500: '#bb68eb',
    950: '#000000',
  },
}
SCSS
$custom: #bb68eb;
$custom-light: #d296f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb68eb",
  "rgb": {
    "r": 187,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 278.015,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66533,
    "c": 0.19905,
    "h": 311.4
  },
  "luminance": 0.26464
}

Semantic roles & 50–950 ramp

primary
#BB68EB
secondary
#D2EDC2
accent
#D90D57
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB68EB

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

Preview Lab → · Contrast checker → · Palette generator →

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