#BB56FF#BB56FF

#BB56FF is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 65.5% C 0.244 H 308.5°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#BB56FF
RGBrgb(187, 86, 255)
HSLhsl(276, 100%, 67%)
HSVhsv(276, 66%, 100%)
CMYKcmyk(26.7%, 66.3%, 0%, 0%)
CIE-LABlab(56.53, 67.82, -67.46)
CIE-LCHlch(56.53, 95.66, 315.15°)
OKLaboklab(65.5% 0.152 -0.1909)
OKLCHoklch(65.5% 0.244 308.5)
XYZxyz(41.8676, 24.4411, 97.1004)
Luminance0.2444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56FF #9AFF56
analogous
#6756FF #BB56FF #FF56EF
triadic
#BB56FF #FFBB56 #56FFBB
tetradic
#BB56FF #FF6756 #9AFF56 #56EFFF
square
#BB56FF #FF6756 #9AFF56 #56EFFF
split-complementary
#BB56FF #EFFF56 #56FF67
monochromatic
#8300DB #A219FF #BB56FF #D493FF #ECD0FF

Accessibility & contrast

On white

3.57
#BB56FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#BB56FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB56FF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB56FF#FFFFFF#000000##000000
##BB56FF1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#3489FB
Tritanopia (blue-blind)
#B17AA4
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #bb56ff;
/* rgb */ color: rgb(187, 86, 255);
/* oklch */ color: oklch(65.5% 0.244 308.5);
Tailwind
colors: {
  custom: {
    50: '#d48cff',
    500: '#bb56ff',
    950: '#000000',
  },
}
SCSS
$custom: #bb56ff;
$custom-light: #d48cff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56ff",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 255
  },
  "hsl": {
    "h": 275.858,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65497,
    "c": 0.24404,
    "h": 308.5
  },
  "luminance": 0.2444
}

Semantic roles & 50–950 ramp

primary
#BB56FF
secondary
#D3F3BD
accent
#E6005C
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150D18
muted
#837D86

Preview Lab

Preview with #BB56FF

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

Preview Lab → · Contrast checker → · Palette generator →

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