#B98CED#B98CED

#B98CED is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.0% C 0.144 H 304.4°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#B98CED
RGBrgb(185, 140, 237)
HSLhsl(268, 73%, 74%)
HSVhsv(268, 41%, 93%)
CMYKcmyk(21.9%, 40.9%, 0%, 7.1%)
CIE-LABlab(65.89, 35.75, -42.63)
CIE-LCHlch(65.89, 55.64, 309.99°)
OKLaboklab(72.04% 0.0813 -0.1187)
OKLCHoklch(72.04% 0.144 304.4)
XYZxyz(44.6685, 35.1850, 84.5425)
Luminance0.3518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98CED #C0ED8C
analogous
#8C90ED #B98CED #EA8CED
triadic
#B98CED #EDB98C #8CEDB9
tetradic
#B98CED #ED8C90 #C0ED8C #8CEDEA
square
#B98CED #ED8C90 #C0ED8C #8CEDEA
split-complementary
#B98CED #EDEA8C #90ED8C
monochromatic
#7922DC #9957E5 #B98CED #D9C1F5 #EFE5FB

Accessibility & contrast

On white

2.61
#B98CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#B98CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98CED
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98CED#FFFFFF#000000##000000
##B98CED1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#759FF1
Deuteranopia (green-blind)
#7FA0EA
Tritanopia (blue-blind)
#B19CB1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b98ced;
/* rgb */ color: rgb(185, 140, 237);
/* oklch */ color: oklch(72.0% 0.144 304.4);
Tailwind
colors: {
  custom: {
    50: '#d0aef3',
    500: '#b98ced',
    950: '#000000',
  },
}
SCSS
$custom: #b98ced;
$custom-light: #d0aef3;
$custom-dark: #000000;
JSON
{
  "hex": "#b98ced",
  "rgb": {
    "r": 185,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 267.835,
    "s": 72.932,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72037,
    "c": 0.14383,
    "h": 304.4
  },
  "luminance": 0.35185
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B98CED

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

Preview Lab → · Contrast checker → · Palette generator →

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