#B985FB#B985FB

#B985FB is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.6% C 0.172 H 302.6°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#B985FB
RGBrgb(185, 133, 251)
HSLhsl(266, 94%, 75%)
HSVhsv(266, 47%, 98%)
CMYKcmyk(26.3%, 47%, 0%, 1.6%)
CIE-LABlab(65.01, 42.84, -51.72)
CIE-LCHlch(65.01, 67.16, 309.64°)
OKLaboklab(71.59% 0.0928 -0.145)
OKLCHoklch(71.59% 0.172 302.6)
XYZxyz(45.8038, 34.0544, 95.4082)
Luminance0.3405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B985FB #C7FB85
analogous
#858CFB #B985FB #F485FB
triadic
#B985FB #FBB985 #85FBB9
tetradic
#B985FB #FB858C #C7FB85 #85FBF4
square
#B985FB #FB858C #C7FB85 #85FBF4
split-complementary
#B985FB #FBF485 #8CFB85
monochromatic
#750EF7 #974AF9 #B985FB #DBC0FD #EEE1FE

Accessibility & contrast

On white

2.69
#B985FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#B985FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B985FB
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B985FB#FFFFFF#000000##000000
##B985FB1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#6F9DF8
Tritanopia (blue-blind)
#AD9AB4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b985fb;
/* rgb */ color: rgb(185, 133, 251);
/* oklch */ color: oklch(71.6% 0.172 302.6);
Tailwind
colors: {
  custom: {
    50: '#d0a9fd',
    500: '#b985fb',
    950: '#000000',
  },
}
SCSS
$custom: #b985fb;
$custom-light: #d0a9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b985fb",
  "rgb": {
    "r": 185,
    "g": 133,
    "b": 251
  },
  "hsl": {
    "h": 266.441,
    "s": 93.651,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71589,
    "c": 0.1722,
    "h": 302.6
  },
  "luminance": 0.34054
}

Semantic roles & 50–950 ramp

primary
#B985FB
secondary
#E7F6D5
accent
#E60080
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #B985FB

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

Preview Lab → · Contrast checker → · Palette generator →

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