#BF98FC#BF98FC

#BF98FC is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.4% C 0.145 H 301.0°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#BF98FC
RGBrgb(191, 152, 252)
HSLhsl(263, 94%, 79%)
HSVhsv(263, 40%, 99%)
CMYKcmyk(24.2%, 39.7%, 0%, 1.2%)
CIE-LABlab(69.87, 34.26, -44.56)
CIE-LCHlch(69.87, 56.21, 307.56°)
OKLaboklab(75.4% 0.0745 -0.1242)
OKLCHoklch(75.4% 0.145 301)
XYZxyz(50.2809, 40.5610, 97.2567)
Luminance0.4056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF98FC #D5FC98
analogous
#98A3FC #BF98FC #F198FC
triadic
#BF98FC #FCBF98 #98FCBF
tetradic
#BF98FC #FC98A3 #D5FC98 #98FCF1
square
#BF98FC #FC98A3 #D5FC98 #98FCF1
split-complementary
#BF98FC #FCF198 #A3FC98
monochromatic
#7521F9 #9A5DFA #BF98FC #E4D3FE #EDE1FE

Accessibility & contrast

On white

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

On black

9.11
#BF98FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF98FC
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF98FC#FFFFFF#000000##000000
##BF98FC1.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EAAFF
Deuteranopia (green-blind)
#86AAF9
Tritanopia (blue-blind)
#B4A9BE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bf98fc;
/* rgb */ color: rgb(191, 152, 252);
/* oklch */ color: oklch(75.4% 0.145 301.0);
Tailwind
colors: {
  custom: {
    50: '#d4b7fe',
    500: '#bf98fc',
    950: '#000000',
  },
}
SCSS
$custom: #bf98fc;
$custom-light: #d4b7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bf98fc",
  "rgb": {
    "r": 191,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 263.4,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.75395,
    "c": 0.1448,
    "h": 301
  },
  "luminance": 0.40561
}

Semantic roles & 50–950 ramp

primary
#BF98FC
secondary
#E9F6D5
accent
#E6008C
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BF98FC

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

Preview Lab → · Contrast checker → · Palette generator →

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