#BF98EF#BF98EF

#BF98EF is a light, vivid violet. Relative luminance 0.398; OKLCH L 74.8% C 0.128 H 304.1°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#BF98EF
RGBrgb(191, 152, 239)
HSLhsl(267, 73%, 77%)
HSVhsv(267, 36%, 94%)
CMYKcmyk(20.1%, 36.4%, 0%, 6.3%)
CIE-LABlab(69.30, 31.29, -38.36)
CIE-LCHlch(69.30, 49.50, 309.21°)
OKLaboklab(74.78% 0.0719 -0.1063)
OKLCHoklch(74.78% 0.128 304.1)
XYZxyz(48.2909, 39.7650, 86.7760)
Luminance0.3977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF98EF #C8EF98
analogous
#989DEF #BF98EF #EB98EF
triadic
#BF98EF #EFBF98 #98EFBF
tetradic
#BF98EF #EF989D #C8EF98 #98EFEB
square
#BF98EF #EF989D #C8EF98 #98EFEB
split-complementary
#BF98EF #EFEB98 #9DEF98
monochromatic
#7D2EDF #9E63E7 #BF98EF #E0CDF7 #EFE5FB

Accessibility & contrast

On white

2.35
#BF98EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#BF98EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF98EF
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF98EF#FFFFFF#000000##000000
##BF98EF1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A8F2
Deuteranopia (green-blind)
#8DA9ED
Tritanopia (blue-blind)
#B7A6B8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bf98ef;
/* rgb */ color: rgb(191, 152, 239);
/* oklch */ color: oklch(74.8% 0.128 304.1);
Tailwind
colors: {
  custom: {
    50: '#d3b6f4',
    500: '#bf98ef',
    950: '#000000',
  },
}
SCSS
$custom: #bf98ef;
$custom-light: #d3b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bf98ef",
  "rgb": {
    "r": 191,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 266.897,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7478,
    "c": 0.12829,
    "h": 304.1
  },
  "luminance": 0.39765
}

Semantic roles & 50–950 ramp

primary
#BF98EF
secondary
#E7F3D8
accent
#D5107D
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #BF98EF

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

Preview Lab → · Contrast checker → · Palette generator →

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