#BF98FE#BF98FE

#BF98FE is a light, vivid violet. Relative luminance 0.407; OKLCH L 75.5% C 0.147 H 300.5°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#BF98FE
RGBrgb(191, 152, 254)
HSLhsl(263, 98%, 80%)
HSVhsv(263, 40%, 100%)
CMYKcmyk(24.8%, 40.2%, 0%, 0.4%)
CIE-LABlab(69.96, 34.73, -45.51)
CIE-LCHlch(69.96, 57.25, 307.35°)
OKLaboklab(75.49% 0.0749 -0.1269)
OKLCHoklch(75.49% 0.147 300.5)
XYZxyz(50.5995, 40.6884, 98.9346)
Luminance0.4069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF98FE #D7FE98
analogous
#98A4FE #BF98FE #F298FE
triadic
#BF98FE #FEBF98 #98FEBF
tetradic
#BF98FE #FE98A4 #D7FE98 #98FEF2
square
#BF98FE #FE98A4 #D7FE98 #98FEF2
split-complementary
#BF98FE #FEF298 #A4FE98
monochromatic
#741FFD #995BFD #BF98FE #E5D5FF #ECE1FF

Accessibility & contrast

On white

2.30
#BF98FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#BF98FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF98FE
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF98FE#FFFFFF#000000##000000
##BF98FE1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bf98fe;
/* rgb */ color: rgb(191, 152, 254);
/* oklch */ color: oklch(75.5% 0.147 300.5);
Tailwind
colors: {
  custom: {
    50: '#d4b7ff',
    500: '#bf98fe',
    950: '#000000',
  },
}
SCSS
$custom: #bf98fe;
$custom-light: #d4b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bf98fe",
  "rgb": {
    "r": 191,
    "g": 152,
    "b": 254
  },
  "hsl": {
    "h": 262.941,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.75492,
    "c": 0.14734,
    "h": 300.5
  },
  "luminance": 0.40689
}

Semantic roles & 50–950 ramp

primary
#BF98FE
secondary
#EAF7D4
accent
#E6008E
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BF98FE

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

Preview Lab → · Contrast checker → · Palette generator →

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