#BC7BEB#BC7BEB

#BC7BEB is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.4% C 0.170 H 309.4°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#BC7BEB
RGBrgb(188, 123, 235)
HSLhsl(275, 74%, 70%)
HSVhsv(275, 48%, 92%)
CMYKcmyk(20%, 47.7%, 0%, 7.8%)
CIE-LABlab(62.39, 45.41, -47.02)
CIE-LCHlch(62.39, 65.37, 314.00°)
OKLaboklab(69.45% 0.1079 -0.1313)
OKLCHoklch(69.45% 0.17 309.4)
XYZxyz(42.8146, 30.8561, 82.2815)
Luminance0.3085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7BEB #AAEB7B
analogous
#847BEB #BC7BEB #EB7BE2
triadic
#BC7BEB #EBBC7B #7BEBBC
tetradic
#BC7BEB #EB847B #AAEB7B #7BE2EB
square
#BC7BEB #EB847B #AAEB7B #7BE2EB
split-complementary
#BC7BEB #E2EB7B #7BEB84
monochromatic
#841FCD #A146E3 #BC7BEB #D7B0F3 #F2E4FB

Accessibility & contrast

On white

2.93
#BC7BEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#BC7BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7BEB
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7BEB#FFFFFF#000000##000000
##BC7BEB1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94EF
Deuteranopia (green-blind)
#7198E8
Tritanopia (blue-blind)
#B68DA8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bc7beb;
/* rgb */ color: rgb(188, 123, 235);
/* oklch */ color: oklch(69.4% 0.170 309.4);
Tailwind
colors: {
  custom: {
    50: '#d2a3f2',
    500: '#bc7beb',
    950: '#000000',
  },
}
SCSS
$custom: #bc7beb;
$custom-light: #d2a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7beb",
  "rgb": {
    "r": 188,
    "g": 123,
    "b": 235
  },
  "hsl": {
    "h": 274.821,
    "s": 73.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69448,
    "c": 0.16991,
    "h": 309.4
  },
  "luminance": 0.30855
}

Semantic roles & 50–950 ramp

primary
#BC7BEB
secondary
#DEF0D1
accent
#D61063
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BC7BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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