#BB7FF3#BB7FF3

#BB7FF3 is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.4% C 0.173 H 306.3°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#BB7FF3
RGBrgb(187, 127, 243)
HSLhsl(271, 83%, 73%)
HSVhsv(271, 48%, 95%)
CMYKcmyk(23%, 47.7%, 0%, 4.7%)
CIE-LABlab(63.52, 44.78, -49.66)
CIE-LCHlch(63.52, 66.87, 312.04°)
OKLaboklab(70.4% 0.1023 -0.139)
OKLCHoklch(70.4% 0.173 306.3)
XYZxyz(44.2572, 32.2150, 88.6632)
Luminance0.3221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FF3 #B7F37F
analogous
#817FF3 #BB7FF3 #F37FF1
triadic
#BB7FF3 #F3BB7F #7FF3BB
tetradic
#BB7FF3 #F3817F #B7F37F #7FF1F3
square
#BB7FF3 #F3817F #B7F37F #7FF1F3
split-complementary
#BB7FF3 #F1F37F #7FF381
monochromatic
#7F15E2 #9D47EE #BB7FF3 #D9B7F8 #F0E3FC

Accessibility & contrast

On white

2.82
#BB7FF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#BB7FF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FF3
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FF3#FFFFFF#000000##000000
##BB7FF31.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F98F7
Deuteranopia (green-blind)
#709AF0
Tritanopia (blue-blind)
#B293AE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bb7ff3;
/* rgb */ color: rgb(187, 127, 243);
/* oklch */ color: oklch(70.4% 0.173 306.3);
Tailwind
colors: {
  custom: {
    50: '#d2a5f7',
    500: '#bb7ff3',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ff3;
$custom-light: #d2a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ff3",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 243
  },
  "hsl": {
    "h": 271.034,
    "s": 82.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70397,
    "c": 0.17254,
    "h": 306.3
  },
  "luminance": 0.32215
}

Semantic roles & 50–950 ramp

primary
#BB7FF3
secondary
#E5F4D7
accent
#DF066F
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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