#B985FC#B985FC

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

Color values

HEX#B985FC
RGBrgb(185, 133, 252)
HSLhsl(266, 95%, 75%)
HSVhsv(266, 47%, 99%)
CMYKcmyk(26.6%, 47.2%, 0%, 1.2%)
CIE-LABlab(65.06, 43.08, -52.19)
CIE-LCHlch(65.06, 67.67, 309.54°)
OKLaboklab(71.64% 0.093 -0.1464)
OKLCHoklch(71.64% 0.173 302.4)
XYZxyz(45.9619, 34.1176, 96.2405)
Luminance0.3412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B985FC #C8FC85
analogous
#858DFC #B985FC #F485FC
triadic
#B985FC #FCB985 #85FCB9
tetradic
#B985FC #FC858D #C8FC85 #85FCF4
square
#B985FC #FC858D #C8FC85 #85FCF4
split-complementary
#B985FC #FCF485 #8DFC85
monochromatic
#740EF9 #9749FB #B985FC #DBC1FD #EEE1FE

Accessibility & contrast

On white

2.68
#B985FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#B985FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B985FC
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B985FC#FFFFFF#000000##000000
##B985FC1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b985fc;
/* rgb */ color: rgb(185, 133, 252);
/* oklch */ color: oklch(71.6% 0.173 302.4);
Tailwind
colors: {
  custom: {
    50: '#d1a9fe',
    500: '#b985fc',
    950: '#000000',
  },
}
SCSS
$custom: #b985fc;
$custom-light: #d1a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b985fc",
  "rgb": {
    "r": 185,
    "g": 133,
    "b": 252
  },
  "hsl": {
    "h": 266.218,
    "s": 95.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71643,
    "c": 0.17342,
    "h": 302.4
  },
  "luminance": 0.34118
}

Semantic roles & 50–950 ramp

primary
#B985FC
secondary
#E8F6D5
accent
#E60081
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #B985FC

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

Preview Lab → · Contrast checker → · Palette generator →

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