#BF40AA#BF40AA

#BF40AA is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.7% C 0.200 H 335.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#BF40AA
RGBrgb(191, 64, 170)
HSLhsl(310, 50%, 50%)
HSVhsv(310, 66%, 75%)
CMYKcmyk(0%, 66.5%, 11%, 25.1%)
CIE-LABlab(49.07, 62.14, -30.84)
CIE-LCHlch(49.07, 69.37, 333.60°)
OKLaboklab(58.71% 0.181 -0.0841)
OKLCHoklch(58.71% 0.2 335.1)
XYZxyz(30.5753, 17.6480, 39.8185)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40AA #40BF55
analogous
#9440BF #BF40AA #BF406B
triadic
#BF40AA #AABF40 #40AABF
tetradic
#BF40AA #BF9440 #40BF55 #406BBF
square
#BF40AA #BF9440 #40BF55 #406BBF
split-complementary
#BF40AA #6BBF40 #40BF94
monochromatic
#632158 #913181 #BF40AA #CE6EBE #DE9CD3

Accessibility & contrast

On white

4.64
#BF40AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#BF40AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BF40AA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40AA#FFFFFF#000000##FFFFFF
##BF40AA1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4069AD
Deuteranopia (green-blind)
#6A7BA7
Tritanopia (blue-blind)
#C8496F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bf40aa;
/* rgb */ color: rgb(191, 64, 170);
/* oklch */ color: oklch(58.7% 0.200 335.1);
Tailwind
colors: {
  custom: {
    50: '#d67ec3',
    500: '#bf40aa',
    950: '#000000',
  },
}
SCSS
$custom: #bf40aa;
$custom-light: #d67ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40aa",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 170
  },
  "hsl": {
    "h": 309.921,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.58708,
    "c": 0.19953,
    "h": 335.1
  },
  "luminance": 0.17645
}

Semantic roles & 50–950 ramp

primary
#BF40AA
secondary
#91CA9A
accent
#D9654E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #BF40AA

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

Preview Lab → · Contrast checker → · Palette generator →

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