#BB7CEF#BB7CEF

#BB7CEF is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.7% C 0.173 H 307.8°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#BB7CEF
RGBrgb(187, 124, 239)
HSLhsl(273, 78%, 71%)
HSVhsv(273, 48%, 94%)
CMYKcmyk(21.8%, 48.1%, 0%, 6.3%)
CIE-LABlab(62.69, 45.50, -48.77)
CIE-LCHlch(62.69, 66.70, 313.01°)
OKLaboklab(69.71% 0.1058 -0.1364)
OKLCHoklch(69.71% 0.173 307.8)
XYZxyz(43.2781, 31.2126, 85.3893)
Luminance0.3121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7CEF #B0EF7C
analogous
#817CEF #BB7CEF #EF7CE9
triadic
#BB7CEF #EFBB7C #7CEFBB
tetradic
#BB7CEF #EF817C #B0EF7C #7CE9EF
square
#BB7CEF #EF817C #B0EF7C #7CE9EF
split-complementary
#BB7CEF #E9EF7C #7CEF81
monochromatic
#811AD6 #9F45E8 #BB7CEF #D7B3F6 #F1E4FC

Accessibility & contrast

On white

2.90
#BB7CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#BB7CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7CEF
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7CEF#FFFFFF#000000##000000
##BB7CEF1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F3
Deuteranopia (green-blind)
#6F98EC
Tritanopia (blue-blind)
#B48FAA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7cef;
/* rgb */ color: rgb(187, 124, 239);
/* oklch */ color: oklch(69.7% 0.173 307.8);
Tailwind
colors: {
  custom: {
    50: '#d2a3f5',
    500: '#bb7cef',
    950: '#000000',
  },
}
SCSS
$custom: #bb7cef;
$custom-light: #d2a3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7cef",
  "rgb": {
    "r": 187,
    "g": 124,
    "b": 239
  },
  "hsl": {
    "h": 272.87,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69712,
    "c": 0.1726,
    "h": 307.8
  },
  "luminance": 0.31212
}

Semantic roles & 50–950 ramp

primary
#BB7CEF
secondary
#E2F3D4
accent
#DA0B69
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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