#BF42D2#BF42D2

#BF42D2 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.1% C 0.229 H 322.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#BF42D2
RGBrgb(191, 66, 210)
HSLhsl(292, 62%, 54%)
HSVhsv(292, 69%, 82%)
CMYKcmyk(9%, 68.6%, 0%, 17.6%)
CIE-LABlab(51.41, 68.03, -50.34)
CIE-LCHlch(51.41, 84.63, 323.50°)
OKLaboklab(61.07% 0.1806 -0.1405)
OKLCHoklch(61.07% 0.229 322.1)
XYZxyz(35.0657, 19.6279, 62.9018)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF42D2 #55D242
analogous
#7742D2 #BF42D2 #D2429D
triadic
#BF42D2 #D2BF42 #42D2BF
tetradic
#BF42D2 #D27742 #55D242 #429DD2
square
#BF42D2 #D27742 #55D242 #429DD2
split-complementary
#BF42D2 #9DD242 #42D277
monochromatic
#701E7C #9C29AD #BF42D2 #D073DE #E0A5EA

Accessibility & contrast

On white

4.26
#BF42D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#BF42D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF42D2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF42D2#FFFFFF#000000##000000
##BF42D21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F71D6
Deuteranopia (green-blind)
#557FCF
Tritanopia (blue-blind)
#C15B85
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bf42d2;
/* rgb */ color: rgb(191, 66, 210);
/* oklch */ color: oklch(61.1% 0.229 322.1);
Tailwind
colors: {
  custom: {
    50: '#d681e0',
    500: '#bf42d2',
    950: '#000000',
  },
}
SCSS
$custom: #bf42d2;
$custom-light: #d681e0;
$custom-dark: #000000;
JSON
{
  "hex": "#bf42d2",
  "rgb": {
    "r": 191,
    "g": 66,
    "b": 210
  },
  "hsl": {
    "h": 292.083,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61074,
    "c": 0.22879,
    "h": 322.1
  },
  "luminance": 0.19626
}

Semantic roles & 50–950 ramp

primary
#BF42D2
secondary
#A1D799
accent
#E54358
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BF42D2

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

Preview Lab → · Contrast checker → · Palette generator →

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