#BC98EB#BC98EB

#BC98EB is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.3% C 0.122 H 303.5°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#BC98EB
RGBrgb(188, 152, 235)
HSLhsl(266, 67%, 76%)
HSVhsv(266, 35%, 92%)
CMYKcmyk(20%, 35.3%, 0%, 7.8%)
CIE-LABlab(68.86, 29.51, -36.88)
CIE-LCHlch(68.86, 47.23, 308.67°)
OKLaboklab(74.32% 0.0676 -0.1021)
OKLCHoklch(74.32% 0.122 303.5)
XYZxyz(46.9596, 39.1461, 83.6632)
Luminance0.3915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC98EB #C7EB98
analogous
#989DEB #BC98EB #E598EB
triadic
#BC98EB #EBBC98 #98EBBC
tetradic
#BC98EB #EB989D #C7EB98 #98EBE5
square
#BC98EB #EB989D #C7EB98 #98EBE5
split-complementary
#BC98EB #EBE598 #9DEB98
monochromatic
#7932D7 #9B65E1 #BC98EB #DDCBF5 #EEE5FA

Accessibility & contrast

On white

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

On black

8.83
#BC98EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC98EB
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC98EB#FFFFFF#000000##000000
##BC98EB1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A7EE
Deuteranopia (green-blind)
#8DA8E9
Tritanopia (blue-blind)
#B4A5B7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bc98eb;
/* rgb */ color: rgb(188, 152, 235);
/* oklch */ color: oklch(74.3% 0.122 303.5);
Tailwind
colors: {
  custom: {
    50: '#d1b6f1',
    500: '#bc98eb',
    950: '#000000',
  },
}
SCSS
$custom: #bc98eb;
$custom-light: #d1b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bc98eb",
  "rgb": {
    "r": 188,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 266.024,
    "s": 67.48,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74322,
    "c": 0.1224,
    "h": 303.5
  },
  "luminance": 0.39146
}

Semantic roles & 50–950 ramp

primary
#BC98EB
secondary
#E7F2D9
accent
#CF167F
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BC98EB

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

Preview Lab → · Contrast checker → · Palette generator →

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