#BC7ECA#BC7ECA

#BC7ECA is a light, vivid purple. Relative luminance 0.299; OKLCH L 68.3% C 0.128 H 320.1°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#BC7ECA
RGBrgb(188, 126, 202)
HSLhsl(289, 42%, 64%)
HSVhsv(289, 38%, 79%)
CMYKcmyk(6.9%, 37.6%, 0%, 20.8%)
CIE-LABlab(61.55, 36.83, -29.88)
CIE-LCHlch(61.55, 47.43, 320.95°)
OKLaboklab(68.34% 0.0978 -0.0819)
OKLCHoklch(68.34% 0.128 320.1)
XYZxyz(38.8592, 29.8785, 59.5858)
Luminance0.2988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7ECA #8CCA7E
analogous
#967ECA #BC7ECA #CA7EB2
triadic
#BC7ECA #CABC7E #7ECABC
tetradic
#BC7ECA #CA967E #8CCA7E #7EB2CA
square
#BC7ECA #CA967E #8CCA7E #7EB2CA
split-complementary
#BC7ECA #B2CA7E #7ECA96
monochromatic
#823C92 #A553B8 #BC7ECA #D3A9DC #E9D5EE

Accessibility & contrast

On white

3.01
#BC7ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#BC7ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BC7ECA
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7ECA#FFFFFF#000000##000000
##BC7ECA1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7490CD
Deuteranopia (green-blind)
#8497C8
Tritanopia (blue-blind)
#BD879B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bc7eca;
/* rgb */ color: rgb(188, 126, 202);
/* oklch */ color: oklch(68.3% 0.128 320.1);
Tailwind
colors: {
  custom: {
    50: '#d1a4da',
    500: '#bc7eca',
    950: '#000000',
  },
}
SCSS
$custom: #bc7eca;
$custom-light: #d1a4da;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7eca",
  "rgb": {
    "r": 188,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 288.947,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68335,
    "c": 0.12761,
    "h": 320.1
  },
  "luminance": 0.29877
}

Semantic roles & 50–950 ramp

primary
#BC7ECA
secondary
#CADFC5
accent
#B53149
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#140F15
muted
#827F83

Preview Lab

Preview with #BC7ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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