#BB7CF1#BB7CF1

#BB7CF1 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.8% C 0.175 H 307.3°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#BB7CF1
RGBrgb(187, 124, 241)
HSLhsl(272, 81%, 72%)
HSVhsv(272, 49%, 95%)
CMYKcmyk(22.4%, 48.5%, 0%, 5.5%)
CIE-LABlab(62.79, 45.94, -49.72)
CIE-LCHlch(62.79, 67.69, 312.74°)
OKLaboklab(69.82% 0.1061 -0.1391)
OKLCHoklch(69.82% 0.175 307.3)
XYZxyz(43.5752, 31.3314, 86.9540)
Luminance0.3133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7CF1 #B2F17C
analogous
#817CF1 #BB7CF1 #F17CEC
triadic
#BB7CF1 #F1BB7C #7CF1BB
tetradic
#BB7CF1 #F1817C #B2F17C #7CECF1
square
#BB7CF1 #F1817C #B2F17C #7CECF1
split-complementary
#BB7CF1 #ECF17C #7CF181
monochromatic
#8117DB #9E45EB #BB7CF1 #D8B3F7 #F1E3FC

Accessibility & contrast

On white

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

On black

7.27
#BB7CF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7CF1
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7CF1#FFFFFF#000000##000000
##BB7CF11.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C95F5
Deuteranopia (green-blind)
#6E99EE
Tritanopia (blue-blind)
#B390AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7cf1;
/* rgb */ color: rgb(187, 124, 241);
/* oklch */ color: oklch(69.8% 0.175 307.3);
Tailwind
colors: {
  custom: {
    50: '#d2a3f6',
    500: '#bb7cf1',
    950: '#000000',
  },
}
SCSS
$custom: #bb7cf1;
$custom-light: #d2a3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7cf1",
  "rgb": {
    "r": 187,
    "g": 124,
    "b": 241
  },
  "hsl": {
    "h": 272.308,
    "s": 80.69,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69818,
    "c": 0.17493,
    "h": 307.3
  },
  "luminance": 0.31331
}

Semantic roles & 50–950 ramp

primary
#BB7CF1
secondary
#E3F3D5
accent
#DD086B
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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