#BF40C8#BF40C8

#BF40C8 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.3% C 0.223 H 325.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#BF40C8
RGBrgb(191, 64, 200)
HSLhsl(296, 55%, 52%)
HSVhsv(296, 68%, 78%)
CMYKcmyk(4.5%, 68%, 0%, 21.6%)
CIE-LABlab(50.59, 67.02, -45.91)
CIE-LCHlch(50.59, 81.24, 325.59°)
OKLaboklab(60.3% 0.1828 -0.1276)
OKLCHoklch(60.3% 0.223 325.1)
XYZxyz(33.7438, 18.9154, 56.5061)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40C8 #49C840
analogous
#7B40C8 #BF40C8 #C8408D
triadic
#BF40C8 #C8BF40 #40C8BF
tetradic
#BF40C8 #C87B40 #49C840 #408DC8
square
#BF40C8 #C87B40 #49C840 #408DC8
split-complementary
#BF40C8 #8DC840 #40C87B
monochromatic
#69206E #962D9D #BF40C8 #CF70D6 #DF9FE3

Accessibility & contrast

On white

4.39
#BF40C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#BF40C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF40C8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40C8#FFFFFF#000000##000000
##BF40C81.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#216ECC
Deuteranopia (green-blind)
#5B7EC5
Tritanopia (blue-blind)
#C3567F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bf40c8;
/* rgb */ color: rgb(191, 64, 200);
/* oklch */ color: oklch(60.3% 0.223 325.1);
Tailwind
colors: {
  custom: {
    50: '#d67fd9',
    500: '#bf40c8',
    950: '#000000',
  },
}
SCSS
$custom: #bf40c8;
$custom-light: #d67fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40c8",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 200
  },
  "hsl": {
    "h": 296.029,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60301,
    "c": 0.2229,
    "h": 325.1
  },
  "luminance": 0.18913
}

Semantic roles & 50–950 ramp

primary
#BF40C8
secondary
#98D094
accent
#DF4953
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B15
muted
#837C83

Preview Lab

Preview with #BF40C8

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

Preview Lab → · Contrast checker → · Palette generator →

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