#BB7FE5#BB7FE5

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

Color values

HEX#BB7FE5
RGBrgb(187, 127, 229)
HSLhsl(275, 66%, 70%)
HSVhsv(275, 45%, 90%)
CMYKcmyk(18.3%, 44.5%, 0%, 10.2%)
CIE-LABlab(62.84, 41.66, -42.98)
CIE-LCHlch(62.84, 59.86, 314.11°)
OKLaboklab(69.67% 0.1004 -0.1196)
OKLCHoklch(69.67% 0.156 310)
XYZxyz(42.2231, 31.4013, 77.9503)
Luminance0.3140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FE5 #A9E57F
analogous
#887FE5 #BB7FE5 #E57FDC
triadic
#BB7FE5 #E5BB7F #7FE5BB
tetradic
#BB7FE5 #E5887F #A9E57F #7FDCE5
square
#BB7FE5 #E5887F #A9E57F #7FDCE5
split-complementary
#BB7FE5 #DCE57F #7FE588
monochromatic
#8227C2 #A04CDB #BB7FE5 #D6B2EF #F1E5FA

Accessibility & contrast

On white

2.88
#BB7FE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB7FE5#FFFFFF#000000##000000
##BB7FE51.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6895E9
Deuteranopia (green-blind)
#7899E2
Tritanopia (blue-blind)
#B68FA7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7fe5;
/* rgb */ color: rgb(187, 127, 229);
/* oklch */ color: oklch(69.7% 0.156 310.0);
Tailwind
colors: {
  custom: {
    50: '#d1a5ed',
    500: '#bb7fe5',
    950: '#000000',
  },
}
SCSS
$custom: #bb7fe5;
$custom-light: #d1a5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7fe5",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 229
  },
  "hsl": {
    "h": 275.294,
    "s": 66.234,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69673,
    "c": 0.15611,
    "h": 310
  },
  "luminance": 0.31401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB7FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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