#BB7FE4#BB7FE4

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

Color values

HEX#BB7FE4
RGBrgb(187, 127, 228)
HSLhsl(276, 65%, 70%)
HSVhsv(276, 44%, 89%)
CMYKcmyk(18%, 44.3%, 0%, 10.6%)
CIE-LABlab(62.80, 41.44, -42.49)
CIE-LCHlch(62.80, 59.36, 314.28°)
OKLaboklab(69.62% 0.1002 -0.1182)
OKLCHoklch(69.62% 0.155 310.3)
XYZxyz(42.0839, 31.3456, 77.2171)
Luminance0.3135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FE4 #A8E47F
analogous
#897FE4 #BB7FE4 #E47FDA
triadic
#BB7FE4 #E4BB7F #7FE4BB
tetradic
#BB7FE4 #E4897F #A8E47F #7FDAE4
square
#BB7FE4 #E4897F #A8E47F #7FDAE4
split-complementary
#BB7FE4 #DAE47F #7FE489
monochromatic
#8329C0 #A04CD9 #BB7FE4 #D6B2EF #F1E4F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB7FE4#FFFFFF#000000##000000
##BB7FE41.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)
#6995E8
Deuteranopia (green-blind)
#7899E1
Tritanopia (blue-blind)
#B68FA7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7fe4;
/* rgb */ color: rgb(187, 127, 228);
/* oklch */ color: oklch(69.6% 0.155 310.3);
Tailwind
colors: {
  custom: {
    50: '#d1a5ed',
    500: '#bb7fe4',
    950: '#000000',
  },
}
SCSS
$custom: #bb7fe4;
$custom-light: #d1a5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7fe4",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 228
  },
  "hsl": {
    "h": 275.644,
    "s": 65.161,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69623,
    "c": 0.15495,
    "h": 310.3
  },
  "luminance": 0.31345
}

Semantic roles & 50–950 ramp

primary
#BB7FE4
secondary
#DDEED1
accent
#CD1962
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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