#BD56FB#BD56FB

#BD56FB is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 65.5% C 0.241 H 310.0°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#BD56FB
RGBrgb(189, 86, 251)
HSLhsl(277, 95%, 66%)
HSVhsv(277, 66%, 98%)
CMYKcmyk(24.7%, 65.7%, 0%, 1.6%)
CIE-LABlab(56.53, 67.39, -65.24)
CIE-LCHlch(56.53, 93.79, 315.93°)
OKLaboklab(65.47% 0.1548 -0.1843)
OKLCHoklch(65.47% 0.241 310)
XYZxyz(41.7233, 24.4403, 93.7676)
Luminance0.2444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD56FB #94FB56
analogous
#6A56FB #BD56FB #FB56E6
triadic
#BD56FB #FBBD56 #56FBBD
tetradic
#BD56FB #FB6A56 #94FB56 #56E6FB
square
#BD56FB #FB6A56 #94FB56 #56E6FB
split-complementary
#BD56FB #E6FB56 #56FB6A
monochromatic
#8505D2 #A61AFA #BD56FB #D492FC #ECCEFE

Accessibility & contrast

On white

3.57
#BD56FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#BD56FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD56FB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD56FB#FFFFFF#000000##000000
##BD56FB1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#3D89F7
Tritanopia (blue-blind)
#B578A2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #bd56fb;
/* rgb */ color: rgb(189, 86, 251);
/* oklch */ color: oklch(65.5% 0.241 310.0);
Tailwind
colors: {
  custom: {
    50: '#d58cfd',
    500: '#bd56fb',
    950: '#000000',
  },
}
SCSS
$custom: #bd56fb;
$custom-light: #d58cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#bd56fb",
  "rgb": {
    "r": 189,
    "g": 86,
    "b": 251
  },
  "hsl": {
    "h": 277.455,
    "s": 95.376,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6547,
    "c": 0.24071,
    "h": 310
  },
  "luminance": 0.24439
}

Semantic roles & 50–950 ramp

primary
#BD56FB
secondary
#D0F2BB
accent
#E60056
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150D18
muted
#837D86

Preview Lab

Preview with #BD56FB

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

Preview Lab → · Contrast checker → · Palette generator →

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