#BF98EC#BF98EC

#BF98EC is a light, vivid violet. Relative luminance 0.396; OKLCH L 74.6% C 0.124 H 304.9°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#BF98EC
RGBrgb(191, 152, 236)
HSLhsl(268, 69%, 76%)
HSVhsv(268, 36%, 93%)
CMYKcmyk(19.1%, 35.6%, 0%, 7.5%)
CIE-LABlab(69.18, 30.62, -36.91)
CIE-LCHlch(69.18, 47.96, 309.68°)
OKLaboklab(74.64% 0.0712 -0.1021)
OKLCHoklch(74.64% 0.124 304.9)
XYZxyz(47.8514, 39.5892, 84.4612)
Luminance0.3959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF98EC #C5EC98
analogous
#989BEC #BF98EC #E998EC
triadic
#BF98EC #ECBF98 #98ECBF
tetradic
#BF98EC #EC989B #C5EC98 #98ECE9
square
#BF98EC #EC989B #C5EC98 #98ECE9
split-complementary
#BF98EC #ECE998 #9BEC98
monochromatic
#7F31D9 #9F64E2 #BF98EC #DFCCF6 #EFE5FA

Accessibility & contrast

On white

2.35
#BF98EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#BF98EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF98EC
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF98EC#FFFFFF#000000##000000
##BF98EC1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A8EF
Deuteranopia (green-blind)
#8EA9EA
Tritanopia (blue-blind)
#B8A5B7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bf98ec;
/* rgb */ color: rgb(191, 152, 236);
/* oklch */ color: oklch(74.6% 0.124 304.9);
Tailwind
colors: {
  custom: {
    50: '#d3b6f2',
    500: '#bf98ec',
    950: '#000000',
  },
}
SCSS
$custom: #bf98ec;
$custom-light: #d3b6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bf98ec",
  "rgb": {
    "r": 191,
    "g": 152,
    "b": 236
  },
  "hsl": {
    "h": 267.857,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74643,
    "c": 0.12449,
    "h": 304.9
  },
  "luminance": 0.39589
}

Semantic roles & 50–950 ramp

primary
#BF98EC
secondary
#E6F2D9
accent
#D11579
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #BF98EC

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

Preview Lab → · Contrast checker → · Palette generator →

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