#B985EB#B985EB

#B985EB is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.8% C 0.153 H 306.4°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#B985EB
RGBrgb(185, 133, 235)
HSLhsl(271, 72%, 72%)
HSVhsv(271, 43%, 92%)
CMYKcmyk(21.3%, 43.4%, 0%, 7.8%)
CIE-LABlab(64.23, 39.16, -44.13)
CIE-LCHlch(64.23, 59.00, 311.58°)
OKLaboklab(70.76% 0.0906 -0.123)
OKLCHoklch(70.76% 0.153 306.4)
XYZxyz(43.3875, 33.0878, 82.6820)
Luminance0.3309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B985EB #B7EB85
analogous
#8685EB #B985EB #EB85EA
triadic
#B985EB #EBB985 #85EBB9
tetradic
#B985EB #EB8685 #B7EB85 #85EAEB
square
#B985EB #EB8685 #B7EB85 #85EAEB
split-complementary
#B985EB #EAEB85 #85EB86
monochromatic
#7D23D3 #9B50E2 #B985EB #D7BAF4 #F0E5FB

Accessibility & contrast

On white

2.76
#B985EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#B985EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B985EB
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B985EB#FFFFFF#000000##000000
##B985EB1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AEF
Deuteranopia (green-blind)
#799CE8
Tritanopia (blue-blind)
#B296AD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b985eb;
/* rgb */ color: rgb(185, 133, 235);
/* oklch */ color: oklch(70.8% 0.153 306.4);
Tailwind
colors: {
  custom: {
    50: '#d0a9f2',
    500: '#b985eb',
    950: '#000000',
  },
}
SCSS
$custom: #b985eb;
$custom-light: #d0a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b985eb",
  "rgb": {
    "r": 185,
    "g": 133,
    "b": 235
  },
  "hsl": {
    "h": 270.588,
    "s": 71.831,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70757,
    "c": 0.15278,
    "h": 306.4
  },
  "luminance": 0.33088
}

Semantic roles & 50–950 ramp

primary
#B985EB
secondary
#E5F2D9
accent
#D41271
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B985EB

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

Preview Lab → · Contrast checker → · Palette generator →

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