#BB5AF2#BB5AF2

#BB5AF2 is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 65.1% C 0.226 H 311.1°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#BB5AF2
RGBrgb(187, 90, 242)
HSLhsl(278, 85%, 65%)
HSVhsv(278, 63%, 95%)
CMYKcmyk(22.7%, 62.8%, 0%, 5.1%)
CIE-LABlab(56.38, 63.27, -60.49)
CIE-LCHlch(56.38, 87.53, 316.29°)
OKLaboklab(65.13% 0.1485 -0.1705)
OKLCHoklch(65.13% 0.226 311.1)
XYZxyz(40.1737, 24.2888, 86.5591)
Luminance0.2429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5AF2 #91F25A
analogous
#6F5AF2 #BB5AF2 #F25ADD
triadic
#BB5AF2 #F2BB5A #5AF2BB
tetradic
#BB5AF2 #F26F5A #91F25A #5ADDF2
square
#BB5AF2 #F26F5A #91F25A #5ADDF2
split-complementary
#BB5AF2 #DDF25A #5AF26F
monochromatic
#820FC2 #A421EE #BB5AF2 #D293F6 #EACBFB

Accessibility & contrast

On white

3.59
#BB5AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#BB5AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5AF2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5AF2#FFFFFF#000000##000000
##BB5AF21.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0583F7
Deuteranopia (green-blind)
#4A89EE
Tritanopia (blue-blind)
#B4789E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #bb5af2;
/* rgb */ color: rgb(187, 90, 242);
/* oklch */ color: oklch(65.1% 0.226 311.1);
Tailwind
colors: {
  custom: {
    50: '#d38ef7',
    500: '#bb5af2',
    950: '#000000',
  },
}
SCSS
$custom: #bb5af2;
$custom-light: #d38ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5af2",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 242
  },
  "hsl": {
    "h": 278.289,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65133,
    "c": 0.22608,
    "h": 311.1
  },
  "luminance": 0.24288
}

Semantic roles & 50–950 ramp

primary
#BB5AF2
secondary
#CDEEBA
accent
#E20454
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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