#BC98DF#BC98DF

#BC98DF is a light, moderate violet. Relative luminance 0.385; OKLCH L 73.8% C 0.107 H 307.1°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#BC98DF
RGBrgb(188, 152, 223)
HSLhsl(270, 53%, 74%)
HSVhsv(270, 32%, 87%)
CMYKcmyk(15.7%, 31.8%, 0%, 12.5%)
CIE-LABlab(68.37, 26.85, -31.04)
CIE-LCHlch(68.37, 41.04, 310.87°)
OKLaboklab(73.79% 0.0647 -0.0854)
OKLCHoklch(73.79% 0.107 307.1)
XYZxyz(45.2840, 38.4759, 74.8387)
Luminance0.3848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC98DF #BBDF98
analogous
#9898DF #BC98DF #DF98DE
triadic
#BC98DF #DFBC98 #98DFBC
tetradic
#BC98DF #DF9898 #BBDF98 #98DEDF
square
#BC98DF #DF9898 #BBDF98 #98DEDF
split-complementary
#BC98DF #DEDF98 #98DF98
monochromatic
#7F3CC1 #9E69D0 #BC98DF #DAC7EE #F0E8F8

Accessibility & contrast

On white

2.42
#BC98DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#BC98DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC98DF
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC98DF#FFFFFF#000000##000000
##BC98DF1.002.428.708.70
#FFFFFF2.421.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA5E2
Deuteranopia (green-blind)
#92A7DD
Tritanopia (blue-blind)
#B7A2B2
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bc98df;
/* rgb */ color: rgb(188, 152, 223);
/* oklch */ color: oklch(73.8% 0.107 307.1);
Tailwind
colors: {
  custom: {
    50: '#d1b6e9',
    500: '#bc98df',
    950: '#000000',
  },
}
SCSS
$custom: #bc98df;
$custom-light: #d1b6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#bc98df",
  "rgb": {
    "r": 188,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 270.423,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7379,
    "c": 0.10709,
    "h": 307.1
  },
  "luminance": 0.38476
}

Semantic roles & 50–950 ramp

primary
#BC98DF
secondary
#E5EFDC
accent
#C02572
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BC98DF

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

Preview Lab → · Contrast checker → · Palette generator →

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