#BF98FF#BF98FF

#BF98FF is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.5% C 0.149 H 300.3°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#BF98FF
RGBrgb(191, 152, 255)
HSLhsl(263, 100%, 80%)
HSVhsv(263, 40%, 100%)
CMYKcmyk(25.1%, 40.4%, 0%, 0%)
CIE-LABlab(70.00, 34.96, -45.98)
CIE-LCHlch(70.00, 57.77, 307.25°)
OKLaboklab(75.54% 0.0751 -0.1283)
OKLCHoklch(75.54% 0.149 300.3)
XYZxyz(50.7600, 40.7526, 99.7802)
Luminance0.4075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF98FF #D8FF98
analogous
#98A5FF #BF98FF #F298FF
triadic
#BF98FF #FFBF98 #98FFBF
tetradic
#BF98FF #FF98A5 #D8FF98 #98FFF2
square
#BF98FF #FF98A5 #D8FF98 #98FFF2
split-complementary
#BF98FF #FFF298 #A5FF98
monochromatic
#731EFF #995BFF #BF98FF #E5D5FF #ECE0FF

Accessibility & contrast

On white

2.29
#BF98FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#BF98FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF98FF
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF98FF#FFFFFF#000000##000000
##BF98FF1.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DABFF
Deuteranopia (green-blind)
#85AAFC
Tritanopia (blue-blind)
#B3A9BF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bf98ff;
/* rgb */ color: rgb(191, 152, 255);
/* oklch */ color: oklch(75.5% 0.149 300.3);
Tailwind
colors: {
  custom: {
    50: '#d4b7ff',
    500: '#bf98ff',
    950: '#000000',
  },
}
SCSS
$custom: #bf98ff;
$custom-light: #d4b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bf98ff",
  "rgb": {
    "r": 191,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 262.718,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.75541,
    "c": 0.14861,
    "h": 300.3
  },
  "luminance": 0.40753
}

Semantic roles & 50–950 ramp

primary
#BF98FF
secondary
#EAF7D4
accent
#E6008F
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BF98FF

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

Preview Lab → · Contrast checker → · Palette generator →

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