#BC98FE#BC98FE

#BC98FE is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.2% C 0.147 H 299.1°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#BC98FE
RGBrgb(188, 152, 254)
HSLhsl(261, 98%, 80%)
HSVhsv(261, 40%, 100%)
CMYKcmyk(26%, 40.2%, 0%, 0.4%)
CIE-LABlab(69.69, 33.90, -45.96)
CIE-LCHlch(69.69, 57.11, 306.41°)
OKLaboklab(75.22% 0.0714 -0.1283)
OKLCHoklch(75.22% 0.147 299.1)
XYZxyz(49.8526, 40.3033, 98.8996)
Luminance0.4030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC98FE #DAFE98
analogous
#98A7FE #BC98FE #EF98FE
triadic
#BC98FE #FEBC98 #98FEBC
tetradic
#BC98FE #FE98A7 #DAFE98 #98FEEF
square
#BC98FE #FE98A7 #DAFE98 #98FEEF
split-complementary
#BC98FE #FEEF98 #A7FE98
monochromatic
#6D1FFD #955BFD #BC98FE #E3D5FF #EBE1FF

Accessibility & contrast

On white

2.32
#BC98FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#BC98FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC98FE
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC98FE#FFFFFF#000000##000000
##BC98FE1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#84A9FB
Tritanopia (blue-blind)
#AFA9BF
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bc98fe;
/* rgb */ color: rgb(188, 152, 254);
/* oklch */ color: oklch(75.2% 0.147 299.1);
Tailwind
colors: {
  custom: {
    50: '#d2b6ff',
    500: '#bc98fe',
    950: '#000000',
  },
}
SCSS
$custom: #bc98fe;
$custom-light: #d2b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bc98fe",
  "rgb": {
    "r": 188,
    "g": 152,
    "b": 254
  },
  "hsl": {
    "h": 261.176,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.75222,
    "c": 0.1468,
    "h": 299.1
  },
  "luminance": 0.40304
}

Semantic roles & 50–950 ramp

primary
#BC98FE
secondary
#EBF7D4
accent
#E60095
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BC98FE

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

Preview Lab → · Contrast checker → · Palette generator →

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