#BB6BEC#BB6BEC

#BB6BEC is a light, vivid violet. Relative luminance 0.271; OKLCH L 67.0% C 0.196 H 310.8°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#BB6BEC
RGBrgb(187, 107, 236)
HSLhsl(277, 77%, 67%)
HSVhsv(277, 55%, 93%)
CMYKcmyk(20.8%, 54.7%, 0%, 7.5%)
CIE-LABlab(59.10, 53.74, -52.79)
CIE-LCHlch(59.10, 75.33, 315.51°)
OKLaboklab(67.01% 0.1279 -0.148)
OKLCHoklch(67.01% 0.196 310.8)
XYZxyz(40.8887, 27.1371, 82.4246)
Luminance0.2714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6BEC #9CEC6B
analogous
#7A6BEC #BB6BEC #EC6BDD
triadic
#BB6BEC #ECBB6B #6BECBB
tetradic
#BB6BEC #EC7A6B #9CEC6B #6BDDEC
square
#BB6BEC #EC7A6B #9CEC6B #6BDDEC
split-complementary
#BB6BEC #DDEC6B #6BEC7A
monochromatic
#8319C4 #A235E5 #BB6BEC #D4A1F3 #EDD7FA

Accessibility & contrast

On white

3.27
#BB6BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#BB6BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6BEC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6BEC#FFFFFF#000000##000000
##BB6BEC1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#448AF0
Deuteranopia (green-blind)
#6090E9
Tritanopia (blue-blind)
#B582A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #bb6bec;
/* rgb */ color: rgb(187, 107, 236);
/* oklch */ color: oklch(67.0% 0.196 310.8);
Tailwind
colors: {
  custom: {
    50: '#d298f3',
    500: '#bb6bec',
    950: '#000000',
  },
}
SCSS
$custom: #bb6bec;
$custom-light: #d298f3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6bec",
  "rgb": {
    "r": 187,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 277.209,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.67009,
    "c": 0.19562,
    "h": 310.8
  },
  "luminance": 0.27136
}

Semantic roles & 50–950 ramp

primary
#BB6BEC
secondary
#D5EEC5
accent
#D90C5A
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB6BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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