#BB7FDF#BB7FDF

#BB7FDF is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.4% C 0.149 H 311.8°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#BB7FDF
RGBrgb(187, 127, 223)
HSLhsl(278, 60%, 69%)
HSVhsv(278, 43%, 87%)
CMYKcmyk(16.1%, 43%, 0%, 12.5%)
CIE-LABlab(62.57, 40.36, -40.07)
CIE-LCHlch(62.57, 56.87, 315.20°)
OKLaboklab(69.38% 0.0994 -0.1112)
OKLCHoklch(69.38% 0.149 311.8)
XYZxyz(41.3999, 31.0720, 73.6143)
Luminance0.3107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FDF #A3DF7F
analogous
#8B7FDF #BB7FDF #DF7FD3
triadic
#BB7FDF #DFBB7F #7FDFBB
tetradic
#BB7FDF #DF8B7F #A3DF7F #7FD3DF
square
#BB7FDF #DF8B7F #A3DF7F #7FD3DF
split-complementary
#BB7FDF #D3DF7F #7FDF8B
monochromatic
#832EB6 #A14ED3 #BB7FDF #D5B0EB #EFE1F7

Accessibility & contrast

On white

2.91
#BB7FDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#BB7FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FDF
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FDF#FFFFFF#000000##000000
##BB7FDF1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B94E2
Deuteranopia (green-blind)
#7B99DC
Tritanopia (blue-blind)
#B78DA4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb7fdf;
/* rgb */ color: rgb(187, 127, 223);
/* oklch */ color: oklch(69.4% 0.149 311.8);
Tailwind
colors: {
  custom: {
    50: '#d1a5e9',
    500: '#bb7fdf',
    950: '#000000',
  },
}
SCSS
$custom: #bb7fdf;
$custom-light: #d1a5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7fdf",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 277.5,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69375,
    "c": 0.14913,
    "h": 311.8
  },
  "luminance": 0.31071
}

Semantic roles & 50–950 ramp

primary
#BB7FDF
secondary
#D9EBCF
accent
#C81E5E
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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