#BF5AFF#BF5AFF

#BF5AFF is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 66.4% C 0.240 H 309.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#BF5AFF
RGBrgb(191, 90, 255)
HSLhsl(277, 100%, 68%)
HSVhsv(277, 65%, 100%)
CMYKcmyk(25.1%, 64.7%, 0%, 0%)
CIE-LABlab(57.66, 66.88, -65.60)
CIE-LCHlch(57.66, 93.68, 315.55°)
OKLaboklab(66.42% 0.1527 -0.1853)
OKLCHoklch(66.42% 0.24 309.5)
XYZxyz(43.1885, 25.6095, 97.2563)
Luminance0.2561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF5AFF #9AFF5A
analogous
#6C5AFF #BF5AFF #FF5AED
triadic
#BF5AFF #FFBF5A #5AFFBF
tetradic
#BF5AFF #FF6C5A #9AFF5A #5AEDFF
square
#BF5AFF #FF6C5A #9AFF5A #5AEDFF
split-complementary
#BF5AFF #EDFF5A #5AFF6C
monochromatic
#8800DF #A71DFF #BF5AFF #D797FF #EED4FF

Accessibility & contrast

On white

3.43
#BF5AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#BF5AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF5AFF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF5AFF#FFFFFF#000000##000000
##BF5AFF1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#408CFB
Tritanopia (blue-blind)
#B67CA5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #bf5aff;
/* rgb */ color: rgb(191, 90, 255);
/* oklch */ color: oklch(66.4% 0.240 309.5);
Tailwind
colors: {
  custom: {
    50: '#d78fff',
    500: '#bf5aff',
    950: '#000000',
  },
}
SCSS
$custom: #bf5aff;
$custom-light: #d78fff;
$custom-dark: #000000;
JSON
{
  "hex": "#bf5aff",
  "rgb": {
    "r": 191,
    "g": 90,
    "b": 255
  },
  "hsl": {
    "h": 276.727,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66421,
    "c": 0.24016,
    "h": 309.5
  },
  "luminance": 0.25609
}

Semantic roles & 50–950 ramp

primary
#BF5AFF
secondary
#D5F4C1
accent
#E60059
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BF5AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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