#BF40FF#BF40FF

#BF40FF is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 63.8% C 0.270 H 311.2°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#BF40FF
RGBrgb(191, 64, 255)
HSLhsl(280, 100%, 63%)
HSVhsv(280, 75%, 100%)
CMYKcmyk(25.1%, 74.9%, 0%, 0%)
CIE-LABlab(53.99, 77.23, -71.54)
CIE-LCHlch(53.99, 105.28, 317.19°)
OKLaboklab(63.8% 0.1777 -0.2026)
OKLCHoklch(63.8% 0.27 311.2)
XYZxyz(41.3658, 21.9642, 96.6488)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40FF #80FF40
analogous
#5F40FF #BF40FF #FF40E0
triadic
#BF40FF #FFBF40 #40FFBF
tetradic
#BF40FF #FF5F40 #80FF40 #40E0FF
square
#BF40FF #FF5F40 #80FF40 #40E0FF
split-complementary
#BF40FF #E0FF40 #40FF5F
monochromatic
#8300C5 #AA03FF #BF40FF #D47DFF #E8BAFF

Accessibility & contrast

On white

3.89
#BF40FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#BF40FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF40FF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40FF#FFFFFF#000000##000000
##BF40FF1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#1583FB
Tritanopia (blue-blind)
#B76E9E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #bf40ff;
/* rgb */ color: rgb(191, 64, 255);
/* oklch */ color: oklch(63.8% 0.270 311.2);
Tailwind
colors: {
  custom: {
    50: '#d881ff',
    500: '#bf40ff',
    950: '#000000',
  },
}
SCSS
$custom: #bf40ff;
$custom-light: #d881ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40ff",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 255
  },
  "hsl": {
    "h": 279.895,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63803,
    "c": 0.2695,
    "h": 311.2
  },
  "luminance": 0.21963
}

Semantic roles & 50–950 ramp

primary
#BF40FF
secondary
#C2F0AB
accent
#E6004D
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150B18
muted
#837C86

Preview Lab

Preview with #BF40FF

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

Preview Lab → · Contrast checker → · Palette generator →

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