#BB7AFA#BB7AFA

#BB7AFA is a light, vivid violet. Relative luminance 0.314; OKLCH L 70.0% C 0.188 H 305.5°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#BB7AFA
RGBrgb(187, 122, 250)
HSLhsl(270, 93%, 73%)
HSVhsv(270, 51%, 98%)
CMYKcmyk(25.2%, 51.2%, 0%, 2%)
CIE-LABlab(62.83, 49.05, -54.61)
CIE-LCHlch(62.83, 73.40, 311.93°)
OKLaboklab(70% 0.1095 -0.1534)
OKLCHoklch(70% 0.188 305.5)
XYZxyz(44.7047, 31.3863, 94.1270)
Luminance0.3139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7AFA #B9FA7A
analogous
#7B7AFA #BB7AFA #FA7AF9
triadic
#BB7AFA #FABB7A #7AFABB
tetradic
#BB7AFA #FA7B7A #B9FA7A #7AF9FA
square
#BB7AFA #FA7B7A #B9FA7A #7AF9FA
split-complementary
#BB7AFA #F9FA7A #7AFA7B
monochromatic
#7F09F1 #9D3FF8 #BB7AFA #D9B5FC #F0E2FE

Accessibility & contrast

On white

2.89
#BB7AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#BB7AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7AFA
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7AFA#FFFFFF#000000##000000
##BB7AFA1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5296FE
Deuteranopia (green-blind)
#6698F7
Tritanopia (blue-blind)
#B191AF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7afa;
/* rgb */ color: rgb(187, 122, 250);
/* oklch */ color: oklch(70.0% 0.188 305.5);
Tailwind
colors: {
  custom: {
    50: '#d2a2fc',
    500: '#bb7afa',
    950: '#000000',
  },
}
SCSS
$custom: #bb7afa;
$custom-light: #d2a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7afa",
  "rgb": {
    "r": 187,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 270.469,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70002,
    "c": 0.18845,
    "h": 305.5
  },
  "luminance": 0.31386
}

Semantic roles & 50–950 ramp

primary
#BB7AFA
secondary
#E5F6D5
accent
#E60071
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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