#B985F7#B985F7

#B985F7 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.4% C 0.167 H 303.5°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#B985F7
RGBrgb(185, 133, 247)
HSLhsl(267, 88%, 75%)
HSVhsv(267, 46%, 97%)
CMYKcmyk(25.1%, 46.2%, 0%, 3.1%)
CIE-LABlab(64.81, 41.91, -49.84)
CIE-LCHlch(64.81, 65.12, 310.06°)
OKLaboklab(71.38% 0.0924 -0.1395)
OKLCHoklch(71.38% 0.167 303.5)
XYZxyz(45.1800, 33.8048, 92.1225)
Luminance0.3381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B985F7 #C3F785
analogous
#858AF7 #B985F7 #F285F7
triadic
#B985F7 #F7B985 #85F7B9
tetradic
#B985F7 #F7858A #C3F785 #85F7F2
square
#B985F7 #F7858A #C3F785 #85F7F2
split-complementary
#B985F7 #F7F285 #8AF785
monochromatic
#7712EF #984CF3 #B985F7 #DABEFB #EFE2FD

Accessibility & contrast

On white

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

On black

7.76
#B985F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B985F7
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B985F7#FFFFFF#000000##000000
##B985F71.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#659CFB
Deuteranopia (green-blind)
#729DF4
Tritanopia (blue-blind)
#AE99B2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b985f7;
/* rgb */ color: rgb(185, 133, 247);
/* oklch */ color: oklch(71.4% 0.167 303.5);
Tailwind
colors: {
  custom: {
    50: '#d0a9fa',
    500: '#b985f7',
    950: '#000000',
  },
}
SCSS
$custom: #b985f7;
$custom-light: #d0a9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b985f7",
  "rgb": {
    "r": 185,
    "g": 133,
    "b": 247
  },
  "hsl": {
    "h": 267.368,
    "s": 87.692,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71376,
    "c": 0.16734,
    "h": 303.5
  },
  "luminance": 0.33805
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B985F7

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

Preview Lab → · Contrast checker → · Palette generator →

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