#B98FDA#B98FDA

#B98FDA is a light, moderate violet. Relative luminance 0.350; OKLCH L 71.7% C 0.115 H 309.4°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#B98FDA
RGBrgb(185, 143, 218)
HSLhsl(274, 50%, 71%)
HSVhsv(274, 34%, 85%)
CMYKcmyk(15.1%, 34.4%, 0%, 14.5%)
CIE-LABlab(65.77, 29.85, -32.33)
CIE-LCHlch(65.77, 44.00, 312.72°)
OKLaboklab(71.67% 0.073 -0.089)
OKLCHoklch(71.67% 0.115 309.4)
XYZxyz(42.4826, 35.0216, 70.8379)
Luminance0.3502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98FDA #B0DA8F
analogous
#938FDA #B98FDA #DA8FD5
triadic
#B98FDA #DAB98F #8FDAB9
tetradic
#B98FDA #DA938F #B0DA8F #8FD5DA
square
#B98FDA #DA938F #B0DA8F #8FD5DA
split-complementary
#B98FDA #D5DA8F #8FDA93
monochromatic
#7F3BB3 #9C61CB #B98FDA #D6BDE9 #F1E8F7

Accessibility & contrast

On white

2.62
#B98FDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#B98FDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98FDA
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98FDA#FFFFFF#000000##000000
##B98FDA1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#819EDD
Deuteranopia (green-blind)
#8AA0D8
Tritanopia (blue-blind)
#B59AAB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b98fda;
/* rgb */ color: rgb(185, 143, 218);
/* oklch */ color: oklch(71.7% 0.115 309.4);
Tailwind
colors: {
  custom: {
    50: '#cfb0e5',
    500: '#b98fda',
    950: '#000000',
  },
}
SCSS
$custom: #b98fda;
$custom-light: #cfb0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b98fda",
  "rgb": {
    "r": 185,
    "g": 143,
    "b": 218
  },
  "hsl": {
    "h": 273.6,
    "s": 50.336,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71673,
    "c": 0.11515,
    "h": 309.4
  },
  "luminance": 0.35021
}

Semantic roles & 50–950 ramp

primary
#B98FDA
secondary
#E1ECD8
accent
#BE286A
background
#FCFAFE
surface
#F9F5FC
border
#D2CFD5
text
#141016
muted
#827F84

Preview Lab

Preview with #B98FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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