#BF42CC#BF42CC

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

Color values

HEX#BF42CC
RGBrgb(191, 66, 204)
HSLhsl(294, 58%, 53%)
HSVhsv(294, 68%, 80%)
CMYKcmyk(6.4%, 67.6%, 0%, 20%)
CIE-LABlab(51.08, 66.97, -47.44)
CIE-LCHlch(51.08, 82.07, 324.69°)
OKLaboklab(60.72% 0.1807 -0.132)
OKLCHoklch(60.72% 0.224 323.8)
XYZxyz(34.3322, 19.3345, 59.0386)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF42CC #4FCC42
analogous
#7A42CC #BF42CC #CC4294
triadic
#BF42CC #CCBF42 #42CCBF
tetradic
#BF42CC #CC7A42 #4FCC42 #4294CC
square
#BF42CC #CC7A42 #4FCC42 #4294CC
split-complementary
#BF42CC #94CC42 #42CC7A
monochromatic
#6C1F74 #992CA4 #BF42CC #CF72D9 #E0A2E6

Accessibility & contrast

On white

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

On black

4.87
#BF42CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF42CC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF42CC#FFFFFF#000000##000000
##BF42CC1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E70D0
Deuteranopia (green-blind)
#597FC9
Tritanopia (blue-blind)
#C25982
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bf42cc;
/* rgb */ color: rgb(191, 66, 204);
/* oklch */ color: oklch(60.7% 0.224 323.8);
Tailwind
colors: {
  custom: {
    50: '#d680dc',
    500: '#bf42cc',
    950: '#000000',
  },
}
SCSS
$custom: #bf42cc;
$custom-light: #d680dc;
$custom-dark: #000000;
JSON
{
  "hex": "#bf42cc",
  "rgb": {
    "r": 191,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 294.348,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60723,
    "c": 0.22378,
    "h": 323.8
  },
  "luminance": 0.19332
}

Semantic roles & 50–950 ramp

primary
#BF42CC
secondary
#9DD397
accent
#E14756
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BF42CC

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

Preview Lab → · Contrast checker → · Palette generator →

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