#B98FED#B98FED

#B98FED is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.6% C 0.139 H 303.7°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#B98FED
RGBrgb(185, 143, 237)
HSLhsl(267, 72%, 75%)
HSVhsv(267, 40%, 93%)
CMYKcmyk(21.9%, 39.7%, 0%, 7.1%)
CIE-LABlab(66.58, 34.09, -41.56)
CIE-LCHlch(66.58, 53.75, 309.36°)
OKLaboklab(72.55% 0.0771 -0.1156)
OKLCHoklch(72.55% 0.139 303.7)
XYZxyz(45.1129, 36.0737, 84.6906)
Luminance0.3607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98FED #C3ED8F
analogous
#8F94ED #B98FED #E88FED
triadic
#B98FED #EDB98F #8FEDB9
tetradic
#B98FED #ED8F94 #C3ED8F #8FEDE8
square
#B98FED #ED8F94 #C3ED8F #8FEDE8
split-complementary
#B98FED #EDE88F #94ED8F
monochromatic
#7726DC #985AE5 #B98FED #DAC4F5 #EFE5FB

Accessibility & contrast

On white

2.56
#B98FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#B98FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98FED
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98FED#FFFFFF#000000##000000
##B98FED1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A1F1
Deuteranopia (green-blind)
#82A2EA
Tritanopia (blue-blind)
#B09EB3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b98fed;
/* rgb */ color: rgb(185, 143, 237);
/* oklch */ color: oklch(72.6% 0.139 303.7);
Tailwind
colors: {
  custom: {
    50: '#cfb0f3',
    500: '#b98fed',
    950: '#000000',
  },
}
SCSS
$custom: #b98fed;
$custom-light: #cfb0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b98fed",
  "rgb": {
    "r": 185,
    "g": 143,
    "b": 237
  },
  "hsl": {
    "h": 266.809,
    "s": 72.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72554,
    "c": 0.13893,
    "h": 303.7
  },
  "luminance": 0.36074
}

Semantic roles & 50–950 ramp

primary
#B98FED
secondary
#E7F2D9
accent
#D4117D
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#141017
muted
#827F85

Preview Lab

Preview with #B98FED

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

Preview Lab → · Contrast checker → · Palette generator →

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