#B98AED#B98AED

#B98AED is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.7% C 0.147 H 304.9°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#B98AED
RGBrgb(185, 138, 237)
HSLhsl(268, 73%, 74%)
HSVhsv(268, 42%, 93%)
CMYKcmyk(21.9%, 41.8%, 0%, 7.1%)
CIE-LABlab(65.44, 36.86, -43.34)
CIE-LCHlch(65.44, 56.89, 310.38°)
OKLaboklab(71.7% 0.0841 -0.1207)
OKLCHoklch(71.7% 0.147 304.9)
XYZxyz(44.3790, 34.6059, 84.4460)
Luminance0.3461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98AED #BEED8A
analogous
#8A8CED #B98AED #EA8AED
triadic
#B98AED #EDB98A #8AEDB9
tetradic
#B98AED #ED8A8C #BEED8A #8AEDEA
square
#B98AED #ED8A8C #BEED8A #8AEDEA
split-complementary
#B98AED #EDEA8A #8CED8A
monochromatic
#7A22DB #9955E5 #B98AED #D9BFF5 #EFE4FB

Accessibility & contrast

On white

2.65
#B98AED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#B98AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98AED
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98AED#FFFFFF#000000##000000
##B98AED1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DF1
Deuteranopia (green-blind)
#7D9FEA
Tritanopia (blue-blind)
#B19AB0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b98aed;
/* rgb */ color: rgb(185, 138, 237);
/* oklch */ color: oklch(71.7% 0.147 304.9);
Tailwind
colors: {
  custom: {
    50: '#d0adf3',
    500: '#b98aed',
    950: '#000000',
  },
}
SCSS
$custom: #b98aed;
$custom-light: #d0adf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b98aed",
  "rgb": {
    "r": 185,
    "g": 138,
    "b": 237
  },
  "hsl": {
    "h": 268.485,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71697,
    "c": 0.14708,
    "h": 304.9
  },
  "luminance": 0.34606
}

Semantic roles & 50–950 ramp

primary
#B98AED
secondary
#E6F3D8
accent
#D51078
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B98AED

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

Preview Lab → · Contrast checker → · Palette generator →

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