#BC98F7#BC98F7

#BC98F7 is a light, vivid violet. Relative luminance 0.399; OKLCH L 74.9% C 0.138 H 300.6°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#BC98F7
RGBrgb(188, 152, 247)
HSLhsl(263, 86%, 78%)
HSVhsv(263, 38%, 97%)
CMYKcmyk(23.9%, 38.5%, 0%, 3.1%)
CIE-LABlab(69.37, 32.26, -42.64)
CIE-LCHlch(69.37, 53.47, 307.11°)
OKLaboklab(74.88% 0.0701 -0.1186)
OKLCHoklch(74.88% 0.138 300.6)
XYZxyz(48.7520, 39.8631, 93.1036)
Luminance0.3986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC98F7 #D3F798
analogous
#98A3F7 #BC98F7 #EC98F7
triadic
#BC98F7 #F7BC98 #98F7BC
tetradic
#BC98F7 #F798A3 #D3F798 #98F7EC
square
#BC98F7 #F798A3 #D3F798 #98F7EC
split-complementary
#BC98F7 #F7EC98 #A3F798
monochromatic
#7226EE #975FF3 #BC98F7 #E1D1FB #EDE3FD

Accessibility & contrast

On white

2.34
#BC98F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#BC98F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC98F7
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC98F7#FFFFFF#000000##000000
##BC98F71.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A9FB
Deuteranopia (green-blind)
#87A9F4
Tritanopia (blue-blind)
#B1A8BC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bc98f7;
/* rgb */ color: rgb(188, 152, 247);
/* oklch */ color: oklch(74.9% 0.138 300.6);
Tailwind
colors: {
  custom: {
    50: '#d2b6fa',
    500: '#bc98f7',
    950: '#000000',
  },
}
SCSS
$custom: #bc98f7;
$custom-light: #d2b6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bc98f7",
  "rgb": {
    "r": 188,
    "g": 152,
    "b": 247
  },
  "hsl": {
    "h": 262.737,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.74882,
    "c": 0.13781,
    "h": 300.6
  },
  "luminance": 0.39863
}

Semantic roles & 50–950 ramp

primary
#BC98F7
secondary
#E9F5D6
accent
#E2038E
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BC98F7

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

Preview Lab → · Contrast checker → · Palette generator →

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