#BB7EF0#BB7EF0

#BB7EF0 is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.1% C 0.171 H 307.2°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#BB7EF0
RGBrgb(187, 126, 240)
HSLhsl(272, 79%, 72%)
HSVhsv(272, 48%, 94%)
CMYKcmyk(22.1%, 47.5%, 0%, 5.9%)
CIE-LABlab(63.16, 44.64, -48.57)
CIE-LCHlch(63.16, 65.97, 312.59°)
OKLaboklab(70.08% 0.1033 -0.1358)
OKLCHoklch(70.08% 0.171 307.2)
XYZxyz(43.6794, 31.7782, 86.2539)
Luminance0.3178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EF0 #B3F07E
analogous
#827EF0 #BB7EF0 #F07EEC
triadic
#BB7EF0 #F0BB7E #7EF0BB
tetradic
#BB7EF0 #F0827E #B3F07E #7EECF0
square
#BB7EF0 #F0827E #B3F07E #7EECF0
split-complementary
#BB7EF0 #ECF07E #7EF082
monochromatic
#8119DA #9E47EA #BB7EF0 #D8B5F6 #F1E4FC

Accessibility & contrast

On white

2.85
#BB7EF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#BB7EF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EF0
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EF0#FFFFFF#000000##000000
##BB7EF01.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6097F4
Deuteranopia (green-blind)
#7099ED
Tritanopia (blue-blind)
#B391AC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb7ef0;
/* rgb */ color: rgb(187, 126, 240);
/* oklch */ color: oklch(70.1% 0.171 307.2);
Tailwind
colors: {
  custom: {
    50: '#d2a5f5',
    500: '#bb7ef0',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ef0;
$custom-light: #d2a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ef0",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 240
  },
  "hsl": {
    "h": 272.105,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7008,
    "c": 0.1706,
    "h": 307.2
  },
  "luminance": 0.31778
}

Semantic roles & 50–950 ramp

primary
#BB7EF0
secondary
#E4F3D6
accent
#DB0A6B
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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