#B985F6#B985F6

#B985F6 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.3% C 0.166 H 303.7°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#B985F6
RGBrgb(185, 133, 246)
HSLhsl(268, 86%, 74%)
HSVhsv(268, 46%, 96%)
CMYKcmyk(24.8%, 45.9%, 0%, 3.5%)
CIE-LABlab(64.76, 41.68, -49.37)
CIE-LCHlch(64.76, 64.61, 310.17°)
OKLaboklab(71.32% 0.0922 -0.1382)
OKLCHoklch(71.32% 0.166 303.7)
XYZxyz(45.0261, 33.7433, 91.3119)
Luminance0.3374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B985F6 #C2F685
analogous
#858AF6 #B985F6 #F285F6
triadic
#B985F6 #F6B985 #85F6B9
tetradic
#B985F6 #F6858A #C2F685 #85F6F2
square
#B985F6 #F6858A #C2F685 #85F6F2
split-complementary
#B985F6 #F6F285 #8AF685
monochromatic
#7813EE #984CF2 #B985F6 #DABEFA #EFE3FD

Accessibility & contrast

On white

2.71
#B985F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#B985F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B985F6
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B985F6#FFFFFF#000000##000000
##B985F61.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#669CFA
Deuteranopia (green-blind)
#739DF3
Tritanopia (blue-blind)
#AF99B2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b985f6;
/* rgb */ color: rgb(185, 133, 246);
/* oklch */ color: oklch(71.3% 0.166 303.7);
Tailwind
colors: {
  custom: {
    50: '#d0a9f9',
    500: '#b985f6',
    950: '#000000',
  },
}
SCSS
$custom: #b985f6;
$custom-light: #d0a9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b985f6",
  "rgb": {
    "r": 185,
    "g": 133,
    "b": 246
  },
  "hsl": {
    "h": 267.611,
    "s": 86.26,
    "l": 74.314
  },
  "oklch": {
    "l": 0.71324,
    "c": 0.16613,
    "h": 303.7
  },
  "luminance": 0.33743
}

Semantic roles & 50–950 ramp

primary
#B985F6
secondary
#E7F5D6
accent
#E3037C
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #B985F6

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

Preview Lab → · Contrast checker → · Palette generator →

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