#B98CDA#B98CDA

#B98CDA is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.1% C 0.120 H 310.0°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#B98CDA
RGBrgb(185, 140, 218)
HSLhsl(275, 51%, 70%)
HSVhsv(275, 36%, 85%)
CMYKcmyk(15.1%, 35.8%, 0%, 14.5%)
CIE-LABlab(65.07, 31.52, -33.41)
CIE-LCHlch(65.07, 45.93, 313.34°)
OKLaboklab(71.14% 0.0774 -0.0921)
OKLCHoklch(71.14% 0.12 310)
XYZxyz(42.0383, 34.1329, 70.6898)
Luminance0.3413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98CDA #ADDA8C
analogous
#928CDA #B98CDA #DA8CD4
triadic
#B98CDA #DAB98C #8CDAB9
tetradic
#B98CDA #DA928C #ADDA8C #8CD4DA
square
#B98CDA #DA928C #ADDA8C #8CD4DA
split-complementary
#B98CDA #D4DA8C #8CDA92
monochromatic
#7F39B2 #9D5ECB #B98CDA #D5BAE9 #F1E8F8

Accessibility & contrast

On white

2.68
#B98CDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#B98CDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98CDA
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98CDA#FFFFFF#000000##000000
##B98CDA1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9CDD
Deuteranopia (green-blind)
#879FD8
Tritanopia (blue-blind)
#B597A9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b98cda;
/* rgb */ color: rgb(185, 140, 218);
/* oklch */ color: oklch(71.1% 0.120 310.0);
Tailwind
colors: {
  custom: {
    50: '#cfaee5',
    500: '#b98cda',
    950: '#000000',
  },
}
SCSS
$custom: #b98cda;
$custom-light: #cfaee5;
$custom-dark: #000000;
JSON
{
  "hex": "#b98cda",
  "rgb": {
    "r": 185,
    "g": 140,
    "b": 218
  },
  "hsl": {
    "h": 274.615,
    "s": 51.316,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71143,
    "c": 0.12031,
    "h": 310
  },
  "luminance": 0.34132
}

Semantic roles & 50–950 ramp

primary
#B98CDA
secondary
#DFECD6
accent
#BF2767
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #B98CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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