#B98CDC#B98CDC

#B98CDC is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.2% C 0.123 H 309.4°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#B98CDC
RGBrgb(185, 140, 220)
HSLhsl(274, 53%, 71%)
HSVhsv(274, 36%, 86%)
CMYKcmyk(15.9%, 36.4%, 0%, 13.7%)
CIE-LABlab(65.15, 31.96, -34.39)
CIE-LCHlch(65.15, 46.94, 312.90°)
OKLaboklab(71.23% 0.0778 -0.0949)
OKLCHoklch(71.23% 0.123 309.4)
XYZxyz(42.3016, 34.2383, 72.0764)
Luminance0.3424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98CDC #AFDC8C
analogous
#918CDC #B98CDC #DC8CD7
triadic
#B98CDC #DCB98C #8CDCB9
tetradic
#B98CDC #DC918C #AFDC8C #8CD7DC
square
#B98CDC #DC918C #AFDC8C #8CD7DC
split-complementary
#B98CDC #D7DC8C #8CDC91
monochromatic
#7F37B6 #9C5DCE #B98CDC #D6BBEA #F1E8F8

Accessibility & contrast

On white

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

On black

7.85
#B98CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98CDC
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98CDC#FFFFFF#000000##000000
##B98CDC1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9CDF
Deuteranopia (green-blind)
#879FDA
Tritanopia (blue-blind)
#B597AA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b98cdc;
/* rgb */ color: rgb(185, 140, 220);
/* oklch */ color: oklch(71.2% 0.123 309.4);
Tailwind
colors: {
  custom: {
    50: '#cfaee7',
    500: '#b98cdc',
    950: '#000000',
  },
}
SCSS
$custom: #b98cdc;
$custom-light: #cfaee7;
$custom-dark: #000000;
JSON
{
  "hex": "#b98cdc",
  "rgb": {
    "r": 185,
    "g": 140,
    "b": 220
  },
  "hsl": {
    "h": 273.75,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71233,
    "c": 0.12276,
    "h": 309.4
  },
  "luminance": 0.34238
}

Semantic roles & 50–950 ramp

primary
#B98CDC
secondary
#E1EDD7
accent
#C12569
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #B98CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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