#BF42D9#BF42D9

#BF42D9 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.5% C 0.235 H 320.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BF42D9
RGBrgb(191, 66, 217)
HSLhsl(290, 67%, 55%)
HSVhsv(290, 70%, 85%)
CMYKcmyk(12%, 69.6%, 0%, 14.9%)
CIE-LABlab(51.82, 69.29, -53.68)
CIE-LCHlch(51.82, 87.66, 322.23°)
OKLaboklab(61.49% 0.1803 -0.1503)
OKLCHoklch(61.49% 0.235 320.2)
XYZxyz(35.9569, 19.9844, 67.5956)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF42D9 #5CD942
analogous
#7342D9 #BF42D9 #D942A7
triadic
#BF42D9 #D9BF42 #42D9BF
tetradic
#BF42D9 #D97342 #5CD942 #42A7D9
square
#BF42D9 #D97342 #5CD942 #42A7D9
split-complementary
#BF42D9 #A7D942 #42D973
monochromatic
#731B86 #9F25B9 #BF42D9 #D075E3 #E2A8ED

Accessibility & contrast

On white

4.20
#BF42D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#BF42D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF42D9
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF42D9#FFFFFF#000000##000000
##BF42D91.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DD
Deuteranopia (green-blind)
#5080D5
Tritanopia (blue-blind)
#C05E89
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bf42d9;
/* rgb */ color: rgb(191, 66, 217);
/* oklch */ color: oklch(61.5% 0.235 320.2);
Tailwind
colors: {
  custom: {
    50: '#d681e5',
    500: '#bf42d9',
    950: '#000000',
  },
}
SCSS
$custom: #bf42d9;
$custom-light: #d681e5;
$custom-dark: #000000;
JSON
{
  "hex": "#bf42d9",
  "rgb": {
    "r": 191,
    "g": 66,
    "b": 217
  },
  "hsl": {
    "h": 289.669,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61494,
    "c": 0.2347,
    "h": 320.2
  },
  "luminance": 0.19983
}

Semantic roles & 50–950 ramp

primary
#BF42D9
secondary
#A7DB9C
accent
#E93E5C
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BF42D9

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

Preview Lab → · Contrast checker → · Palette generator →

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