#BC98EC#BC98EC

#BC98EC is a light, vivid violet. Relative luminance 0.392; OKLCH L 74.4% C 0.124 H 303.2°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#BC98EC
RGBrgb(188, 152, 236)
HSLhsl(266, 69%, 76%)
HSVhsv(266, 36%, 93%)
CMYKcmyk(20.3%, 35.6%, 0%, 7.5%)
CIE-LABlab(68.90, 29.74, -37.36)
CIE-LCHlch(68.90, 47.75, 308.52°)
OKLaboklab(74.37% 0.0678 -0.1035)
OKLCHoklch(74.37% 0.124 303.2)
XYZxyz(47.1044, 39.2040, 84.4262)
Luminance0.3920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC98EC #C8EC98
analogous
#989EEC #BC98EC #E698EC
triadic
#BC98EC #ECBC98 #98ECBC
tetradic
#BC98EC #EC989E #C8EC98 #98ECE6
square
#BC98EC #EC989E #C8EC98 #98ECE6
split-complementary
#BC98EC #ECE698 #9EEC98
monochromatic
#7931D9 #9A64E2 #BC98EC #DECCF6 #EEE5FA

Accessibility & contrast

On white

2.38
#BC98EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#BC98EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC98EC
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC98EC#FFFFFF#000000##000000
##BC98EC1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A7EF
Deuteranopia (green-blind)
#8CA8EA
Tritanopia (blue-blind)
#B4A5B7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bc98ec;
/* rgb */ color: rgb(188, 152, 236);
/* oklch */ color: oklch(74.4% 0.124 303.2);
Tailwind
colors: {
  custom: {
    50: '#d1b6f2',
    500: '#bc98ec',
    950: '#000000',
  },
}
SCSS
$custom: #bc98ec;
$custom-light: #d1b6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bc98ec",
  "rgb": {
    "r": 188,
    "g": 152,
    "b": 236
  },
  "hsl": {
    "h": 265.714,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74367,
    "c": 0.12368,
    "h": 303.2
  },
  "luminance": 0.39204
}

Semantic roles & 50–950 ramp

primary
#BC98EC
secondary
#E7F2D9
accent
#D11580
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BC98EC

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

Preview Lab → · Contrast checker → · Palette generator →

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