#BF42CB#BF42CB

#BF42CB is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.7% C 0.223 H 324.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#BF42CB
RGBrgb(191, 66, 203)
HSLhsl(295, 57%, 53%)
HSVhsv(295, 67%, 80%)
CMYKcmyk(5.9%, 67.5%, 0%, 20.4%)
CIE-LABlab(51.02, 66.79, -46.95)
CIE-LCHlch(51.02, 81.64, 324.89°)
OKLaboklab(60.67% 0.1807 -0.1306)
OKLCHoklch(60.67% 0.223 324.1)
XYZxyz(34.2126, 19.2866, 58.4090)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF42CB #4ECB42
analogous
#7B42CB #BF42CB #CB4292
triadic
#BF42CB #CBBF42 #42CBBF
tetradic
#BF42CB #CB7B42 #4ECB42 #4292CB
square
#BF42CB #CB7B42 #4ECB42 #4292CB
split-complementary
#BF42CB #92CB42 #42CB7B
monochromatic
#6C2073 #992DA3 #BF42CB #CF72D8 #E0A2E5

Accessibility & contrast

On white

4.32
#BF42CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#BF42CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF42CB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF42CB#FFFFFF#000000##000000
##BF42CB1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2070CF
Deuteranopia (green-blind)
#5A7FC8
Tritanopia (blue-blind)
#C35882
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bf42cb;
/* rgb */ color: rgb(191, 66, 203);
/* oklch */ color: oklch(60.7% 0.223 324.1);
Tailwind
colors: {
  custom: {
    50: '#d680db',
    500: '#bf42cb',
    950: '#000000',
  },
}
SCSS
$custom: #bf42cb;
$custom-light: #d680db;
$custom-dark: #000000;
JSON
{
  "hex": "#bf42cb",
  "rgb": {
    "r": 191,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 294.745,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60665,
    "c": 0.22295,
    "h": 324.1
  },
  "luminance": 0.19285
}

Semantic roles & 50–950 ramp

primary
#BF42CB
secondary
#9CD297
accent
#E04855
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BF42CB

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

Preview Lab → · Contrast checker → · Palette generator →

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