#BF98DF#BF98DF

#BF98DF is a light, moderate violet. Relative luminance 0.389; OKLCH L 74.1% C 0.108 H 309.0°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#BF98DF
RGBrgb(191, 152, 223)
HSLhsl(273, 53%, 74%)
HSVhsv(273, 32%, 87%)
CMYKcmyk(14.3%, 31.8%, 0%, 12.5%)
CIE-LABlab(68.65, 27.78, -30.58)
CIE-LCHlch(68.65, 41.31, 312.25°)
OKLaboklab(74.07% 0.0681 -0.084)
OKLCHoklch(74.07% 0.108 309)
XYZxyz(46.0310, 38.8610, 74.8737)
Luminance0.3886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF98DF #B8DF98
analogous
#9B98DF #BF98DF #DF98DB
triadic
#BF98DF #DFBF98 #98DFBF
tetradic
#BF98DF #DF9B98 #B8DF98 #98DBDF
square
#BF98DF #DF9B98 #B8DF98 #98DBDF
split-complementary
#BF98DF #DBDF98 #98DF9B
monochromatic
#853CC1 #A269D0 #BF98DF #DCC7EE #F0E8F8

Accessibility & contrast

On white

2.39
#BF98DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#BF98DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF98DF
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF98DF#FFFFFF#000000##000000
##BF98DF1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA6E2
Deuteranopia (green-blind)
#93A8DD
Tritanopia (blue-blind)
#BBA2B2
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bf98df;
/* rgb */ color: rgb(191, 152, 223);
/* oklch */ color: oklch(74.1% 0.108 309.0);
Tailwind
colors: {
  custom: {
    50: '#d3b6e9',
    500: '#bf98df',
    950: '#000000',
  },
}
SCSS
$custom: #bf98df;
$custom-light: #d3b6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#bf98df",
  "rgb": {
    "r": 191,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 272.958,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7407,
    "c": 0.10815,
    "h": 309
  },
  "luminance": 0.38861
}

Semantic roles & 50–950 ramp

primary
#BF98DF
secondary
#E5EFDC
accent
#C0256B
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141116
muted
#838084

Preview Lab

Preview with #BF98DF

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

Preview Lab → · Contrast checker → · Palette generator →

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