#B98FD2#B98FD2

#B98FD2 is a light, moderate violet. Relative luminance 0.346; OKLCH L 71.3% C 0.105 H 312.4°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#B98FD2
RGBrgb(185, 143, 210)
HSLhsl(278, 43%, 69%)
HSVhsv(278, 32%, 82%)
CMYKcmyk(11.9%, 31.9%, 0%, 17.6%)
CIE-LABlab(65.45, 28.14, -28.37)
CIE-LCHlch(65.45, 39.96, 314.77°)
OKLaboklab(71.33% 0.071 -0.0778)
OKLCHoklch(71.33% 0.105 312.4)
XYZxyz(41.4610, 34.6130, 65.4571)
Luminance0.3461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98FD2 #A8D28F
analogous
#988FD2 #B98FD2 #D28FCA
triadic
#B98FD2 #D2B98F #8FD2B9
tetradic
#B98FD2 #D2988F #A8D28F #8FCAD2
square
#B98FD2 #D2988F #A8D28F #8FCAD2
split-complementary
#B98FD2 #CAD28F #8FD298
monochromatic
#8042A5 #9E63C0 #B98FD2 #D4BBE4 #F0E6F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B98FD2#FFFFFF#000000##000000
##B98FD21.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)
#849DD5
Deuteranopia (green-blind)
#8DA0D0
Tritanopia (blue-blind)
#B798A7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b98fd2;
/* rgb */ color: rgb(185, 143, 210);
/* oklch */ color: oklch(71.3% 0.105 312.4);
Tailwind
colors: {
  custom: {
    50: '#cfb0e0',
    500: '#b98fd2',
    950: '#000000',
  },
}
SCSS
$custom: #b98fd2;
$custom-light: #cfb0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b98fd2",
  "rgb": {
    "r": 185,
    "g": 143,
    "b": 210
  },
  "hsl": {
    "h": 277.612,
    "s": 42.675,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71325,
    "c": 0.10533,
    "h": 312.4
  },
  "luminance": 0.34612
}

Semantic roles & 50–950 ramp

primary
#B98FD2
secondary
#DCE8D5
accent
#B63062
background
#FCFAFD
surface
#F9F5FB
border
#D2CFD4
text
#141015
muted
#827F83

Preview Lab

Preview with #B98FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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