#BB42F3#BB42F3

#BB42F3 is a light, highly saturated purple. Relative luminance 0.209; OKLCH L 62.6% C 0.256 H 312.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#BB42F3
RGBrgb(187, 66, 243)
HSLhsl(281, 88%, 61%)
HSVhsv(281, 73%, 95%)
CMYKcmyk(23%, 72.8%, 0%, 4.7%)
CIE-LABlab(52.88, 73.44, -66.68)
CIE-LCHlch(52.88, 99.20, 317.76°)
OKLaboklab(62.65% 0.1729 -0.1885)
OKLCHoklch(62.65% 0.256 312.5)
XYZxyz(38.6165, 20.9334, 86.7830)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42F3 #7AF342
analogous
#6242F3 #BB42F3 #F342D2
triadic
#BB42F3 #F3BB42 #42F3BB
tetradic
#BB42F3 #F36242 #7AF342 #42D2F3
square
#BB42F3 #F36242 #7AF342 #42D2F3
split-complementary
#BB42F3 #D2F342 #42F362
monochromatic
#7B0BAF #A40FE9 #BB42F3 #D07CF7 #E4B5FA

Accessibility & contrast

On white

4.05
#BB42F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#BB42F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB42F3
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42F3#FFFFFF#000000##000000
##BB42F31.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F8
Deuteranopia (green-blind)
#2C81EF
Tritanopia (blue-blind)
#B56A98
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb42f3;
/* rgb */ color: rgb(187, 66, 243);
/* oklch */ color: oklch(62.6% 0.256 312.5);
Tailwind
colors: {
  custom: {
    50: '#d481f8',
    500: '#bb42f3',
    950: '#000000',
  },
}
SCSS
$custom: #bb42f3;
$custom-light: #d481f8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42f3",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 243
  },
  "hsl": {
    "h": 281.017,
    "s": 88.06,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62649,
    "c": 0.25581,
    "h": 312.5
  },
  "luminance": 0.20932
}

Semantic roles & 50–950 ramp

primary
#BB42F3
secondary
#BCEAA7
accent
#E50149
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150B17
muted
#837C85

Preview Lab

Preview with #BB42F3

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

Preview Lab → · Contrast checker → · Palette generator →

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