#BB3AFD#BB3AFD

#BB3AFD is a light, highly saturated violet. Relative luminance 0.207; OKLCH L 62.7% C 0.272 H 310.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BB3AFD
RGBrgb(187, 58, 253)
HSLhsl(280, 98%, 61%)
HSVhsv(280, 77%, 99%)
CMYKcmyk(26.1%, 77.1%, 0%, 0.8%)
CIE-LABlab(52.60, 78.16, -72.70)
CIE-LCHlch(52.60, 106.75, 317.07°)
OKLaboklab(62.67% 0.1779 -0.2061)
OKLCHoklch(62.67% 0.272 310.8)
XYZxyz(39.7328, 20.6837, 94.8088)
Luminance0.2068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB3AFD #7CFD3A
analogous
#593AFD #BB3AFD #FD3ADE
triadic
#BB3AFD #FDBB3A #3AFDBB
tetradic
#BB3AFD #FD593A #7CFD3A #3ADEFD
square
#BB3AFD #FD593A #7CFD3A #3ADEFD
split-complementary
#BB3AFD #DEFD3A #3AFD59
monochromatic
#7C02BB #A403F7 #BB3AFD #D077FE #E5B3FE

Accessibility & contrast

On white

4.09
#BB3AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#BB3AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB3AFD
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB3AFD#FFFFFF#000000##000000
##BB3AFD1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#0080F9
Tritanopia (blue-blind)
#B26A9C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb3afd;
/* rgb */ color: rgb(187, 58, 253);
/* oklch */ color: oklch(62.7% 0.272 310.8);
Tailwind
colors: {
  custom: {
    50: '#d57eff',
    500: '#bb3afd',
    950: '#000000',
  },
}
SCSS
$custom: #bb3afd;
$custom-light: #d57eff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb3afd",
  "rgb": {
    "r": 187,
    "g": 58,
    "b": 253
  },
  "hsl": {
    "h": 279.692,
    "s": 97.99,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62671,
    "c": 0.27227,
    "h": 310.8
  },
  "luminance": 0.20683
}

Semantic roles & 50–950 ramp

primary
#BB3AFD
secondary
#BEEEA5
accent
#E6004E
background
#FDF8FF
surface
#FBEFFF
border
#D4CAD7
text
#150B18
muted
#837C86

Preview Lab

Preview with #BB3AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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