#B985FA#B985FA

#B985FA is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.5% C 0.171 H 302.8°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#B985FA
RGBrgb(185, 133, 250)
HSLhsl(267, 92%, 75%)
HSVhsv(267, 47%, 98%)
CMYKcmyk(26%, 46.8%, 0%, 2%)
CIE-LABlab(64.96, 42.61, -51.25)
CIE-LCHlch(64.96, 66.65, 309.74°)
OKLaboklab(71.54% 0.0927 -0.1437)
OKLCHoklch(71.54% 0.171 302.8)
XYZxyz(45.6466, 33.9915, 94.5802)
Luminance0.3399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B985FA #C6FA85
analogous
#858BFA #B985FA #F485FA
triadic
#B985FA #FAB985 #85FAB9
tetradic
#B985FA #FA858B #C6FA85 #85FAF4
square
#B985FA #FA858B #C6FA85 #85FAF4
split-complementary
#B985FA #FAF485 #8BFA85
monochromatic
#760FF5 #974AF8 #B985FA #DBC0FC #EEE2FE

Accessibility & contrast

On white

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

On black

7.80
#B985FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B985FA
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B985FA#FFFFFF#000000##000000
##B985FA1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFE
Deuteranopia (green-blind)
#709DF7
Tritanopia (blue-blind)
#AD9AB4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b985fa;
/* rgb */ color: rgb(185, 133, 250);
/* oklch */ color: oklch(71.5% 0.171 302.8);
Tailwind
colors: {
  custom: {
    50: '#d0a9fc',
    500: '#b985fa',
    950: '#000000',
  },
}
SCSS
$custom: #b985fa;
$custom-light: #d0a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b985fa",
  "rgb": {
    "r": 185,
    "g": 133,
    "b": 250
  },
  "hsl": {
    "h": 266.667,
    "s": 92.126,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71536,
    "c": 0.17098,
    "h": 302.8
  },
  "luminance": 0.33991
}

Semantic roles & 50–950 ramp

primary
#B985FA
secondary
#E7F6D5
accent
#E6007F
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #B985FA

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

Preview Lab → · Contrast checker → · Palette generator →

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