#BF98F2#BF98F2

#BF98F2 is a light, vivid violet. Relative luminance 0.399; OKLCH L 74.9% C 0.132 H 303.3°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#BF98F2
RGBrgb(191, 152, 242)
HSLhsl(266, 78%, 77%)
HSVhsv(266, 37%, 95%)
CMYKcmyk(21.1%, 37.2%, 0%, 5.1%)
CIE-LABlab(69.43, 31.97, -39.80)
CIE-LCHlch(69.43, 51.05, 308.78°)
OKLaboklab(74.92% 0.0725 -0.1104)
OKLCHoklch(74.92% 0.132 303.3)
XYZxyz(48.7377, 39.9437, 89.1295)
Luminance0.3994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF98F2 #CBF298
analogous
#989EF2 #BF98F2 #EC98F2
triadic
#BF98F2 #F2BF98 #98F2BF
tetradic
#BF98F2 #F2989E #CBF298 #98F2EC
square
#BF98F2 #F2989E #CBF298 #98F2EC
split-complementary
#BF98F2 #F2EC98 #9EF298
monochromatic
#7B2BE4 #9D62EB #BF98F2 #E1CEF9 #EEE4FC

Accessibility & contrast

On white

2.34
#BF98F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#BF98F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF98F2
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF98F2#FFFFFF#000000##000000
##BF98F21.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A9F5
Deuteranopia (green-blind)
#8BA9F0
Tritanopia (blue-blind)
#B7A6BA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bf98f2;
/* rgb */ color: rgb(191, 152, 242);
/* oklch */ color: oklch(74.9% 0.132 303.3);
Tailwind
colors: {
  custom: {
    50: '#d3b6f6',
    500: '#bf98f2',
    950: '#000000',
  },
}
SCSS
$custom: #bf98f2;
$custom-light: #d3b6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#bf98f2",
  "rgb": {
    "r": 191,
    "g": 152,
    "b": 242
  },
  "hsl": {
    "h": 266,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.74919,
    "c": 0.1321,
    "h": 303.3
  },
  "luminance": 0.39944
}

Semantic roles & 50–950 ramp

primary
#BF98F2
secondary
#E7F3D8
accent
#DA0C80
background
#FDFBFF
surface
#FAF6FE
border
#D3D0D6
text
#141117
muted
#838085

Preview Lab

Preview with #BF98F2

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

Preview Lab → · Contrast checker → · Palette generator →

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