#BC9CEC#BC9CEC

#BC9CEC is a light, moderate violet. Relative luminance 0.405; OKLCH L 75.1% C 0.117 H 302.0°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#BC9CEC
RGBrgb(188, 156, 236)
HSLhsl(264, 68%, 77%)
HSVhsv(264, 34%, 93%)
CMYKcmyk(20.3%, 33.9%, 0%, 7.5%)
CIE-LABlab(69.84, 27.51, -35.90)
CIE-LCHlch(69.84, 45.23, 307.47°)
OKLaboklab(75.09% 0.0621 -0.0993)
OKLCHoklch(75.09% 0.117 302)
XYZxyz(47.7646, 40.5244, 84.6462)
Luminance0.4052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC9CEC #CCEC9C
analogous
#9CA4EC #BC9CEC #E49CEC
triadic
#BC9CEC #ECBC9C #9CECBC
tetradic
#BC9CEC #EC9CA4 #CCEC9C #9CECE4
square
#BC9CEC #EC9CA4 #CCEC9C #9CECE4
split-complementary
#BC9CEC #ECE49C #A4EC9C
monochromatic
#7735D8 #9969E2 #BC9CEC #DFCFF6 #EEE5FA

Accessibility & contrast

On white

2.31
#BC9CEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#BC9CEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC9CEC
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC9CEC#FFFFFF#000000##000000
##BC9CEC1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAEF
Deuteranopia (green-blind)
#90AAEA
Tritanopia (blue-blind)
#B4A8B9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bc9cec;
/* rgb */ color: rgb(188, 156, 236);
/* oklch */ color: oklch(75.1% 0.117 302.0);
Tailwind
colors: {
  custom: {
    50: '#d1b9f2',
    500: '#bc9cec',
    950: '#000000',
  },
}
SCSS
$custom: #bc9cec;
$custom-light: #d1b9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bc9cec",
  "rgb": {
    "r": 188,
    "g": 156,
    "b": 236
  },
  "hsl": {
    "h": 264,
    "s": 67.797,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75085,
    "c": 0.11711,
    "h": 302
  },
  "luminance": 0.40524
}

Semantic roles & 50–950 ramp

primary
#BC9CEC
secondary
#E8F2D9
accent
#D01685
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BC9CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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