#BB93F7#BB93F7

#BB93F7 is a light, vivid violet. Relative luminance 0.381; OKLCH L 73.9% C 0.146 H 301.4°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#BB93F7
RGBrgb(187, 147, 247)
HSLhsl(264, 86%, 77%)
HSVhsv(264, 40%, 97%)
CMYKcmyk(24.3%, 40.5%, 0%, 3.1%)
CIE-LABlab(68.13, 34.75, -44.59)
CIE-LCHlch(68.13, 56.53, 307.93°)
OKLaboklab(73.92% 0.0758 -0.1243)
OKLCHoklch(73.92% 0.146 301.4)
XYZxyz(47.7120, 38.1475, 92.8273)
Luminance0.3815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB93F7 #CFF793
analogous
#939DF7 #BB93F7 #ED93F7
triadic
#BB93F7 #F7BB93 #93F7BB
tetradic
#BB93F7 #F7939D #CFF793 #93F7ED
square
#BB93F7 #F7939D #CFF793 #93F7ED
split-complementary
#BB93F7 #F7ED93 #9DF793
monochromatic
#7321EF #975AF3 #BB93F7 #DFCCFB #EDE3FD

Accessibility & contrast

On white

2.43
#BB93F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#BB93F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB93F7
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB93F7#FFFFFF#000000##000000
##BB93F71.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A5FB
Deuteranopia (green-blind)
#82A6F4
Tritanopia (blue-blind)
#B0A4B9
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bb93f7;
/* rgb */ color: rgb(187, 147, 247);
/* oklch */ color: oklch(73.9% 0.146 301.4);
Tailwind
colors: {
  custom: {
    50: '#d1b3fa',
    500: '#bb93f7',
    950: '#000000',
  },
}
SCSS
$custom: #bb93f7;
$custom-light: #d1b3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb93f7",
  "rgb": {
    "r": 187,
    "g": 147,
    "b": 247
  },
  "hsl": {
    "h": 264,
    "s": 86.207,
    "l": 77.255
  },
  "oklch": {
    "l": 0.73919,
    "c": 0.14559,
    "h": 301.4
  },
  "luminance": 0.38148
}

Semantic roles & 50–950 ramp

primary
#BB93F7
secondary
#E9F5D6
accent
#E30389
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB93F7

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

Preview Lab → · Contrast checker → · Palette generator →

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