#B98FFC#B98FFC

#B98FFC is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.3% C 0.158 H 300.3°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#B98FFC
RGBrgb(185, 143, 252)
HSLhsl(263, 95%, 77%)
HSVhsv(263, 43%, 99%)
CMYKcmyk(26.6%, 43.3%, 0%, 1.2%)
CIE-LABlab(67.27, 37.59, -48.69)
CIE-LCHlch(67.27, 61.51, 307.66°)
OKLaboklab(73.3% 0.0797 -0.1362)
OKLCHoklch(73.3% 0.158 300.3)
XYZxyz(47.3967, 36.9873, 96.7188)
Luminance0.3699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98FFC #D2FC8F
analogous
#8F9CFC #B98FFC #EF8FFC
triadic
#B98FFC #FCB98F #8FFCB9
tetradic
#B98FFC #FC8F9C #D2FC8F #8FFCEF
square
#B98FFC #FC8F9C #D2FC8F #8FFCEF
split-complementary
#B98FFC #FCEF8F #9CFC8F
monochromatic
#6E18F9 #9453FA #B98FFC #DECBFE #ECE1FE

Accessibility & contrast

On white

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

On black

8.40
#B98FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98FFC
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98FFC#FFFFFF#000000##000000
##B98FFC1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#79A3F9
Tritanopia (blue-blind)
#ACA2B9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b98ffc;
/* rgb */ color: rgb(185, 143, 252);
/* oklch */ color: oklch(73.3% 0.158 300.3);
Tailwind
colors: {
  custom: {
    50: '#d0b0fe',
    500: '#b98ffc',
    950: '#000000',
  },
}
SCSS
$custom: #b98ffc;
$custom-light: #d0b0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b98ffc",
  "rgb": {
    "r": 185,
    "g": 143,
    "b": 252
  },
  "hsl": {
    "h": 263.119,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.73302,
    "c": 0.15783,
    "h": 300.3
  },
  "luminance": 0.36987
}

Semantic roles & 50–950 ramp

primary
#B98FFC
secondary
#E9F6D5
accent
#E6008D
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#141018
muted
#837F86

Preview Lab

Preview with #B98FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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