#BF42DB#BF42DB

#BF42DB is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.6% C 0.236 H 319.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#BF42DB
RGBrgb(191, 66, 219)
HSLhsl(289, 68%, 56%)
HSVhsv(289, 70%, 86%)
CMYKcmyk(12.8%, 69.9%, 0%, 14.1%)
CIE-LABlab(51.94, 69.66, -54.63)
CIE-LCHlch(51.94, 88.53, 321.89°)
OKLaboklab(61.62% 0.1802 -0.153)
OKLCHoklch(61.62% 0.236 319.7)
XYZxyz(36.2186, 20.0890, 68.9739)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF42DB #5EDB42
analogous
#7242DB #BF42DB #DB42AA
triadic
#BF42DB #DBBF42 #42DBBF
tetradic
#BF42DB #DB7242 #5EDB42 #42AADB
square
#BF42DB #DB7242 #5EDB42 #42AADB
split-complementary
#BF42DB #AADB42 #42DB72
monochromatic
#741A89 #A024BC #BF42DB #D075E5 #E2A9EF

Accessibility & contrast

On white

4.19
#BF42DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#BF42DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF42DB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF42DB#FFFFFF#000000##000000
##BF42DB1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#4E80D7
Tritanopia (blue-blind)
#BF5F8A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bf42db;
/* rgb */ color: rgb(191, 66, 219);
/* oklch */ color: oklch(61.6% 0.236 319.7);
Tailwind
colors: {
  custom: {
    50: '#d681e7',
    500: '#bf42db',
    950: '#000000',
  },
}
SCSS
$custom: #bf42db;
$custom-light: #d681e7;
$custom-dark: #000000;
JSON
{
  "hex": "#bf42db",
  "rgb": {
    "r": 191,
    "g": 66,
    "b": 219
  },
  "hsl": {
    "h": 289.02,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61617,
    "c": 0.2364,
    "h": 319.7
  },
  "luminance": 0.20087
}

Semantic roles & 50–950 ramp

primary
#BF42DB
secondary
#A8DC9D
accent
#EB3D5D
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BF42DB

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

Preview Lab → · Contrast checker → · Palette generator →

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