#BF98F8#BF98F8

#BF98F8 is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.2% C 0.140 H 301.9°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#BF98F8
RGBrgb(191, 152, 248)
HSLhsl(264, 87%, 78%)
HSVhsv(264, 39%, 97%)
CMYKcmyk(23%, 38.7%, 0%, 2.7%)
CIE-LABlab(69.69, 33.34, -42.67)
CIE-LCHlch(69.69, 54.15, 308.01°)
OKLaboklab(75.2% 0.0737 -0.1187)
OKLCHoklch(75.2% 0.14 301.9)
XYZxyz(49.6537, 40.3101, 93.9535)
Luminance0.4031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF98F8 #D1F898
analogous
#98A1F8 #BF98F8 #EF98F8
triadic
#BF98F8 #F8BF98 #98F8BF
tetradic
#BF98F8 #F898A1 #D1F898 #98F8EF
square
#BF98F8 #F898A1 #D1F898 #98F8EF
split-complementary
#BF98F8 #F8EF98 #A1F898
monochromatic
#7825F0 #9B5FF4 #BF98F8 #E3D1FC #EDE2FD

Accessibility & contrast

On white

2.32
#BF98F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#BF98F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF98F8
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF98F8#FFFFFF#000000##000000
##BF98F81.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#80AAFC
Deuteranopia (green-blind)
#88AAF5
Tritanopia (blue-blind)
#B5A8BC
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bf98f8;
/* rgb */ color: rgb(191, 152, 248);
/* oklch */ color: oklch(75.2% 0.140 301.9);
Tailwind
colors: {
  custom: {
    50: '#d4b6fb',
    500: '#bf98f8',
    950: '#000000',
  },
}
SCSS
$custom: #bf98f8;
$custom-light: #d4b6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bf98f8",
  "rgb": {
    "r": 191,
    "g": 152,
    "b": 248
  },
  "hsl": {
    "h": 264.375,
    "s": 87.273,
    "l": 78.431
  },
  "oklch": {
    "l": 0.75202,
    "c": 0.13971,
    "h": 301.9
  },
  "luminance": 0.4031
}

Semantic roles & 50–950 ramp

primary
#BF98F8
secondary
#E8F5D6
accent
#E40288
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BF98F8

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

Preview Lab → · Contrast checker → · Palette generator →

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