#BC7DFB#BC7DFB

#BC7DFB is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.6% C 0.185 H 305.2°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#BC7DFB
RGBrgb(188, 125, 251)
HSLhsl(270, 94%, 74%)
HSVhsv(270, 50%, 98%)
CMYKcmyk(25.1%, 50.2%, 0%, 1.6%)
CIE-LABlab(63.61, 47.94, -53.91)
CIE-LCHlch(63.61, 72.14, 311.64°)
OKLaboklab(70.62% 0.1069 -0.1513)
OKLCHoklch(70.62% 0.185 305.2)
XYZxyz(45.4816, 32.3239, 95.0912)
Luminance0.3232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7DFB #BCFB7D
analogous
#7D7DFB #BC7DFB #FB7DFB
triadic
#BC7DFB #FBBC7D #7DFBBC
tetradic
#BC7DFB #FB7D7D #BCFB7D #7DFBFB
square
#BC7DFB #FB7D7D #BCFB7D #7DFBFB
split-complementary
#BC7DFB #FBFB7D #7DFB7D
monochromatic
#7F08F6 #9D42F9 #BC7DFB #DBB8FD #F0E1FE

Accessibility & contrast

On white

2.81
#BC7DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#BC7DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7DFB
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7DFB#FFFFFF#000000##000000
##BC7DFB1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FF
Deuteranopia (green-blind)
#699AF8
Tritanopia (blue-blind)
#B293B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bc7dfb;
/* rgb */ color: rgb(188, 125, 251);
/* oklch */ color: oklch(70.6% 0.185 305.2);
Tailwind
colors: {
  custom: {
    50: '#d3a4fd',
    500: '#bc7dfb',
    950: '#000000',
  },
}
SCSS
$custom: #bc7dfb;
$custom-light: #d3a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7dfb",
  "rgb": {
    "r": 188,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 270,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70619,
    "c": 0.18529,
    "h": 305.2
  },
  "luminance": 0.32324
}

Semantic roles & 50–950 ramp

primary
#BC7DFB
secondary
#E6F6D5
accent
#E60073
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BC7DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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