#B98FFD#B98FFD

#B98FFD is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.4% C 0.159 H 300.1°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#B98FFD
RGBrgb(185, 143, 253)
HSLhsl(263, 96%, 78%)
HSVhsv(263, 43%, 99%)
CMYKcmyk(26.9%, 43.5%, 0%, 0.8%)
CIE-LABlab(67.32, 37.82, -49.16)
CIE-LCHlch(67.32, 62.03, 307.57°)
OKLaboklab(73.35% 0.0798 -0.1376)
OKLCHoklch(73.35% 0.159 300.1)
XYZxyz(47.5556, 37.0508, 97.5556)
Luminance0.3705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98FFD #D3FD8F
analogous
#8F9CFD #B98FFD #F08FFD
triadic
#B98FFD #FDB98F #8FFDB9
tetradic
#B98FFD #FD8F9C #D3FD8F #8FFDF0
square
#B98FFD #FD8F9C #D3FD8F #8FFDF0
split-complementary
#B98FFD #FDF08F #9CFD8F
monochromatic
#6E17FB #9353FC #B98FFD #DFCBFE #ECE1FE

Accessibility & contrast

On white

2.50
#B98FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#B98FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98FFD
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98FFD#FFFFFF#000000##000000
##B98FFD1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#79A3FA
Tritanopia (blue-blind)
#ACA2BA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b98ffd;
/* rgb */ color: rgb(185, 143, 253);
/* oklch */ color: oklch(73.4% 0.159 300.1);
Tailwind
colors: {
  custom: {
    50: '#d0b0fe',
    500: '#b98ffd',
    950: '#000000',
  },
}
SCSS
$custom: #b98ffd;
$custom-light: #d0b0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b98ffd",
  "rgb": {
    "r": 185,
    "g": 143,
    "b": 253
  },
  "hsl": {
    "h": 262.909,
    "s": 96.491,
    "l": 77.647
  },
  "oklch": {
    "l": 0.73353,
    "c": 0.15909,
    "h": 300.1
  },
  "luminance": 0.37051
}

Semantic roles & 50–950 ramp

primary
#B98FFD
secondary
#EAF7D4
accent
#E6008E
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#141018
muted
#837F86

Preview Lab

Preview with #B98FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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