#BC98EF#BC98EF

#BC98EF is a light, vivid violet. Relative luminance 0.394; OKLCH L 74.5% C 0.128 H 302.5°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#BC98EF
RGBrgb(188, 152, 239)
HSLhsl(265, 73%, 77%)
HSVhsv(265, 36%, 94%)
CMYKcmyk(21.3%, 36.4%, 0%, 6.3%)
CIE-LABlab(69.03, 30.42, -38.81)
CIE-LCHlch(69.03, 49.31, 308.09°)
OKLaboklab(74.51% 0.0684 -0.1076)
OKLCHoklch(74.51% 0.128 302.5)
XYZxyz(47.5440, 39.3798, 86.7410)
Luminance0.3938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC98EF #CBEF98
analogous
#98A0EF #BC98EF #E898EF
triadic
#BC98EF #EFBC98 #98EFBC
tetradic
#BC98EF #EF98A0 #CBEF98 #98EFE8
square
#BC98EF #EF98A0 #CBEF98 #98EFE8
split-complementary
#BC98EF #EFE898 #A0EF98
monochromatic
#772EDF #9A63E7 #BC98EF #DECDF7 #EEE5FB

Accessibility & contrast

On white

2.37
#BC98EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#BC98EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC98EF
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC98EF#FFFFFF#000000##000000
##BC98EF1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A8F2
Deuteranopia (green-blind)
#8BA8ED
Tritanopia (blue-blind)
#B3A6B8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bc98ef;
/* rgb */ color: rgb(188, 152, 239);
/* oklch */ color: oklch(74.5% 0.128 302.5);
Tailwind
colors: {
  custom: {
    50: '#d1b6f4',
    500: '#bc98ef',
    950: '#000000',
  },
}
SCSS
$custom: #bc98ef;
$custom-light: #d1b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bc98ef",
  "rgb": {
    "r": 188,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 264.828,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74505,
    "c": 0.12752,
    "h": 302.5
  },
  "luminance": 0.3938
}

Semantic roles & 50–950 ramp

primary
#BC98EF
secondary
#E8F3D8
accent
#D51084
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #BC98EF

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

Preview Lab → · Contrast checker → · Palette generator →

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