#BB93F2#BB93F2

#BB93F2 is a light, vivid violet. Relative luminance 0.378; OKLCH L 73.7% C 0.139 H 302.5°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#BB93F2
RGBrgb(187, 147, 242)
HSLhsl(265, 79%, 76%)
HSVhsv(265, 39%, 95%)
CMYKcmyk(22.7%, 39.3%, 0%, 5.1%)
CIE-LABlab(67.90, 33.59, -42.21)
CIE-LCHlch(67.90, 53.94, 308.51°)
OKLaboklab(73.68% 0.0749 -0.1174)
OKLCHoklch(73.68% 0.139 302.5)
XYZxyz(46.9508, 37.8430, 88.8181)
Luminance0.3784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB93F2 #CAF293
analogous
#939BF2 #BB93F2 #EA93F2
triadic
#BB93F2 #F2BB93 #93F2BB
tetradic
#BB93F2 #F2939B #CAF293 #93F2EA
square
#BB93F2 #F2939B #CAF293 #93F2EA
split-complementary
#BB93F2 #F2EA93 #9BF293
monochromatic
#7626E5 #995CEB #BB93F2 #DDCAF9 #EEE4FC

Accessibility & contrast

On white

2.45
#BB93F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#BB93F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB93F2
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB93F2#FFFFFF#000000##000000
##BB93F21.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA5F6
Deuteranopia (green-blind)
#84A5EF
Tritanopia (blue-blind)
#B2A2B7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bb93f2;
/* rgb */ color: rgb(187, 147, 242);
/* oklch */ color: oklch(73.7% 0.139 302.5);
Tailwind
colors: {
  custom: {
    50: '#d1b3f6',
    500: '#bb93f2',
    950: '#000000',
  },
}
SCSS
$custom: #bb93f2;
$custom-light: #d1b3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb93f2",
  "rgb": {
    "r": 187,
    "g": 147,
    "b": 242
  },
  "hsl": {
    "h": 265.263,
    "s": 78.512,
    "l": 76.275
  },
  "oklch": {
    "l": 0.73676,
    "c": 0.13925,
    "h": 302.5
  },
  "luminance": 0.37843
}

Semantic roles & 50–950 ramp

primary
#BB93F2
secondary
#E8F4D7
accent
#DB0B83
background
#FDFBFF
surface
#FAF6FE
border
#D3D0D6
text
#141117
muted
#838085

Preview Lab

Preview with #BB93F2

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

Preview Lab → · Contrast checker → · Palette generator →

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