#B98ADE#B98ADE

#B98ADE is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.0% C 0.129 H 309.1°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#B98ADE
RGBrgb(185, 138, 222)
HSLhsl(274, 56%, 71%)
HSVhsv(274, 38%, 87%)
CMYKcmyk(16.7%, 37.8%, 0%, 12.9%)
CIE-LABlab(64.78, 33.50, -36.08)
CIE-LCHlch(64.78, 49.24, 312.88°)
OKLaboklab(70.98% 0.0812 -0.0998)
OKLCHoklch(70.98% 0.129 309.1)
XYZxyz(42.2784, 33.7657, 73.3833)
Luminance0.3377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98ADE #AFDE8A
analogous
#8F8ADE #B98ADE #DE8AD9
triadic
#B98ADE #DEB98A #8ADEB9
tetradic
#B98ADE #DE8F8A #AFDE8A #8AD9DE
square
#B98ADE #DE8F8A #AFDE8A #8AD9DE
split-complementary
#B98ADE #D9DE8A #8ADE8F
monochromatic
#7F34B9 #9C5AD1 #B98ADE #D6BAEB #F1E7F8

Accessibility & contrast

On white

2.71
#B98ADE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#B98ADE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98ADE
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98ADE#FFFFFF#000000##000000
##B98ADE1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#799BE1
Deuteranopia (green-blind)
#849EDC
Tritanopia (blue-blind)
#B496AA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b98ade;
/* rgb */ color: rgb(185, 138, 222);
/* oklch */ color: oklch(71.0% 0.129 309.1);
Tailwind
colors: {
  custom: {
    50: '#cfade8',
    500: '#b98ade',
    950: '#000000',
  },
}
SCSS
$custom: #b98ade;
$custom-light: #cfade8;
$custom-dark: #000000;
JSON
{
  "hex": "#b98ade",
  "rgb": {
    "r": 185,
    "g": 138,
    "b": 222
  },
  "hsl": {
    "h": 273.571,
    "s": 56,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70977,
    "c": 0.12861,
    "h": 309.1
  },
  "luminance": 0.33765
}

Semantic roles & 50–950 ramp

primary
#B98ADE
secondary
#E1EDD6
accent
#C42269
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #B98ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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