#B985EF#B985EF

#B985EF is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.0% C 0.158 H 305.4°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#B985EF
RGBrgb(185, 133, 239)
HSLhsl(269, 77%, 73%)
HSVhsv(269, 44%, 94%)
CMYKcmyk(22.6%, 44.4%, 0%, 6.3%)
CIE-LABlab(64.42, 40.07, -46.05)
CIE-LCHlch(64.42, 61.04, 311.03°)
OKLaboklab(70.96% 0.0912 -0.1285)
OKLCHoklch(70.96% 0.158 305.4)
XYZxyz(43.9719, 33.3216, 85.7598)
Luminance0.3332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B985EF #BBEF85
analogous
#8586EF #B985EF #EE85EF
triadic
#B985EF #EFB985 #85EFB9
tetradic
#B985EF #EF8586 #BBEF85 #85EFEE
square
#B985EF #EF8586 #BBEF85 #85EFEE
split-complementary
#B985EF #EFEE85 #86EF85
monochromatic
#7B1DDD #9A4FE8 #B985EF #D8BBF6 #EFE4FB

Accessibility & contrast

On white

2.74
#B985EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#B985EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B985EF
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B985EF#FFFFFF#000000##000000
##B985EF1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9BF3
Deuteranopia (green-blind)
#779CEC
Tritanopia (blue-blind)
#B097AF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b985ef;
/* rgb */ color: rgb(185, 133, 239);
/* oklch */ color: oklch(71.0% 0.158 305.4);
Tailwind
colors: {
  custom: {
    50: '#d0a9f4',
    500: '#b985ef',
    950: '#000000',
  },
}
SCSS
$custom: #b985ef;
$custom-light: #d0a9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b985ef",
  "rgb": {
    "r": 185,
    "g": 133,
    "b": 239
  },
  "hsl": {
    "h": 269.434,
    "s": 76.812,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7096,
    "c": 0.15762,
    "h": 305.4
  },
  "luminance": 0.33321
}

Semantic roles & 50–950 ramp

primary
#B985EF
secondary
#E6F3D8
accent
#D90C75
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #B985EF

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

Preview Lab → · Contrast checker → · Palette generator →

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