#BB7FF4#BB7FF4

#BB7FF4 is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.5% C 0.174 H 306.1°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#BB7FF4
RGBrgb(187, 127, 244)
HSLhsl(271, 84%, 73%)
HSVhsv(271, 48%, 96%)
CMYKcmyk(23.4%, 48%, 0%, 4.3%)
CIE-LABlab(63.57, 45.01, -50.13)
CIE-LCHlch(63.57, 67.37, 311.92°)
OKLaboklab(70.45% 0.1024 -0.1403)
OKLCHoklch(70.45% 0.174 306.1)
XYZxyz(44.4087, 32.2755, 89.4607)
Luminance0.3227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FF4 #B8F47F
analogous
#807FF4 #BB7FF4 #F47FF3
triadic
#BB7FF4 #F4BB7F #7FF4BB
tetradic
#BB7FF4 #F4807F #B8F47F #7FF3F4
square
#BB7FF4 #F4807F #B8F47F #7FF3F4
split-complementary
#BB7FF4 #F3F47F #7FF480
monochromatic
#7F14E5 #9D47EF #BB7FF4 #D9B7F9 #F0E3FD

Accessibility & contrast

On white

2.82
#BB7FF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#BB7FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FF4
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FF4#FFFFFF#000000##000000
##BB7FF41.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F98F8
Deuteranopia (green-blind)
#6F9AF1
Tritanopia (blue-blind)
#B293AE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bb7ff4;
/* rgb */ color: rgb(187, 127, 244);
/* oklch */ color: oklch(70.5% 0.174 306.1);
Tailwind
colors: {
  custom: {
    50: '#d2a5f8',
    500: '#bb7ff4',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ff4;
$custom-light: #d2a5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ff4",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 244
  },
  "hsl": {
    "h": 270.769,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.70451,
    "c": 0.17372,
    "h": 306.1
  },
  "luminance": 0.32275
}

Semantic roles & 50–950 ramp

primary
#BB7FF4
secondary
#E5F5D6
accent
#E10570
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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