#BF40C9#BF40C9

#BF40C9 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.4% C 0.224 H 324.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BF40C9
RGBrgb(191, 64, 201)
HSLhsl(296, 56%, 52%)
HSVhsv(296, 68%, 79%)
CMYKcmyk(5%, 68.2%, 0%, 21.2%)
CIE-LABlab(50.64, 67.20, -46.40)
CIE-LCHlch(50.64, 81.66, 325.37°)
OKLaboklab(60.36% 0.1828 -0.129)
OKLCHoklch(60.36% 0.224 324.8)
XYZxyz(33.8610, 18.9623, 57.1236)
Luminance0.1896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40C9 #4AC940
analogous
#7A40C9 #BF40C9 #C9408F
triadic
#BF40C9 #C9BF40 #40C9BF
tetradic
#BF40C9 #C97A40 #4AC940 #408FC9
square
#BF40C9 #C97A40 #4AC940 #408FC9
split-complementary
#BF40C9 #8FC940 #40C97A
monochromatic
#691F6F #972D9F #BF40C9 #CF70D6 #DF9FE4

Accessibility & contrast

On white

4.38
#BF40C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#BF40C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF40C9
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40C9#FFFFFF#000000##000000
##BF40C91.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F6FCD
Deuteranopia (green-blind)
#5A7EC6
Tritanopia (blue-blind)
#C35680
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bf40c9;
/* rgb */ color: rgb(191, 64, 201);
/* oklch */ color: oklch(60.4% 0.224 324.8);
Tailwind
colors: {
  custom: {
    50: '#d67fda',
    500: '#bf40c9',
    950: '#000000',
  },
}
SCSS
$custom: #bf40c9;
$custom-light: #d67fda;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40c9",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 201
  },
  "hsl": {
    "h": 295.62,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60358,
    "c": 0.2237,
    "h": 324.8
  },
  "luminance": 0.1896
}

Semantic roles & 50–950 ramp

primary
#BF40C9
secondary
#99D094
accent
#DF4954
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BF40C9

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

Preview Lab → · Contrast checker → · Palette generator →

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