#B98CFD#B98CFD

#B98CFD is a light, vivid violet. Relative luminance 0.362; OKLCH L 72.8% C 0.164 H 300.8°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#B98CFD
RGBrgb(185, 140, 253)
HSLhsl(264, 97%, 77%)
HSVhsv(264, 45%, 99%)
CMYKcmyk(26.9%, 44.7%, 0%, 0.8%)
CIE-LABlab(66.64, 39.48, -50.22)
CIE-LCHlch(66.64, 63.88, 308.17°)
OKLaboklab(72.85% 0.0838 -0.1407)
OKLCHoklch(72.85% 0.164 300.8)
XYZxyz(47.1113, 36.1621, 97.4075)
Luminance0.3616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98CFD #D0FD8C
analogous
#8C98FD #B98CFD #F28CFD
triadic
#B98CFD #FDB98C #8CFDB9
tetradic
#B98CFD #FD8C98 #D0FD8C #8CFDF2
square
#B98CFD #FD8C98 #D0FD8C #8CFDF2
split-complementary
#B98CFD #FDF28C #98FD8C
monochromatic
#7014FB #9450FC #B98CFD #DEC8FE #EDE1FE

Accessibility & contrast

On white

2.55
#B98CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#B98CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98CFD
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98CFD#FFFFFF#000000##000000
##B98CFD1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA2FF
Deuteranopia (green-blind)
#76A1FA
Tritanopia (blue-blind)
#ACA0B8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b98cfd;
/* rgb */ color: rgb(185, 140, 253);
/* oklch */ color: oklch(72.8% 0.164 300.8);
Tailwind
colors: {
  custom: {
    50: '#d0aefe',
    500: '#b98cfd',
    950: '#000000',
  },
}
SCSS
$custom: #b98cfd;
$custom-light: #d0aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#b98cfd",
  "rgb": {
    "r": 185,
    "g": 140,
    "b": 253
  },
  "hsl": {
    "h": 263.894,
    "s": 96.581,
    "l": 77.059
  },
  "oklch": {
    "l": 0.72848,
    "c": 0.16377,
    "h": 300.8
  },
  "luminance": 0.36162
}

Semantic roles & 50–950 ramp

primary
#B98CFD
secondary
#E9F7D4
accent
#E6008A
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #B98CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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