#BB7AFF#BB7AFF

#BB7AFF is a light, vivid violet. Relative luminance 0.317; OKLCH L 70.3% C 0.194 H 304.4°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#BB7AFF
RGBrgb(187, 122, 255)
HSLhsl(269, 100%, 74%)
HSVhsv(269, 52%, 100%)
CMYKcmyk(26.7%, 52.2%, 0%, 0%)
CIE-LABlab(63.10, 50.20, -56.93)
CIE-LCHlch(63.10, 75.90, 311.40°)
OKLaboklab(70.29% 0.1099 -0.1602)
OKLCHoklch(70.29% 0.194 304.4)
XYZxyz(45.4991, 31.7041, 98.3109)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7AFF #BEFF7A
analogous
#7A7CFF #BB7AFF #FD7AFF
triadic
#BB7AFF #FFBB7A #7AFFBB
tetradic
#BB7AFF #FF7A7C #BEFF7A #7AFFFD
square
#BB7AFF #FF7A7C #BEFF7A #7AFFFD
split-complementary
#BB7AFF #FFFD7A #7CFF7A
monochromatic
#7C00FF #9C3DFF #BB7AFF #DAB7FF #EFE0FF

Accessibility & contrast

On white

2.86
#BB7AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#BB7AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7AFF
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7AFF#FFFFFF#000000##000000
##BB7AFF1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E97FF
Deuteranopia (green-blind)
#6299FC
Tritanopia (blue-blind)
#AF93B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb7aff;
/* rgb */ color: rgb(187, 122, 255);
/* oklch */ color: oklch(70.3% 0.194 304.4);
Tailwind
colors: {
  custom: {
    50: '#d2a2ff',
    500: '#bb7aff',
    950: '#000000',
  },
}
SCSS
$custom: #bb7aff;
$custom-light: #d2a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7aff",
  "rgb": {
    "r": 187,
    "g": 122,
    "b": 255
  },
  "hsl": {
    "h": 269.323,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70285,
    "c": 0.19423,
    "h": 304.4
  },
  "luminance": 0.31704
}

Semantic roles & 50–950 ramp

primary
#BB7AFF
secondary
#E6F7D4
accent
#E60075
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BB7AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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