#B985EC#B985EC

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

Color values

HEX#B985EC
RGBrgb(185, 133, 236)
HSLhsl(270, 73%, 72%)
HSVhsv(270, 44%, 93%)
CMYKcmyk(21.6%, 43.6%, 0%, 7.5%)
CIE-LABlab(64.28, 39.39, -44.61)
CIE-LCHlch(64.28, 59.51, 311.44°)
OKLaboklab(70.81% 0.0908 -0.1244)
OKLCHoklch(70.81% 0.154 306.1)
XYZxyz(43.5324, 33.1458, 83.4451)
Luminance0.3315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B985EC #B8EC85
analogous
#8585EC #B985EC #EC85EC
triadic
#B985EC #ECB985 #85ECB9
tetradic
#B985EC #EC8585 #B8EC85 #85ECEC
square
#B985EC #EC8585 #B8EC85 #85ECEC
split-complementary
#B985EC #ECEC85 #85EC85
monochromatic
#7C21D5 #9B50E4 #B985EC #D7BAF4 #F0E5FB

Accessibility & contrast

On white

2.75
#B985EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#B985EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B985EC
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B985EC#FFFFFF#000000##000000
##B985EC1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AF0
Deuteranopia (green-blind)
#789CE9
Tritanopia (blue-blind)
#B196AD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b985ec;
/* rgb */ color: rgb(185, 133, 236);
/* oklch */ color: oklch(70.8% 0.154 306.1);
Tailwind
colors: {
  custom: {
    50: '#d0a9f2',
    500: '#b985ec',
    950: '#000000',
  },
}
SCSS
$custom: #b985ec;
$custom-light: #d0a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b985ec",
  "rgb": {
    "r": 185,
    "g": 133,
    "b": 236
  },
  "hsl": {
    "h": 270.291,
    "s": 73.05,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70808,
    "c": 0.15398,
    "h": 306.1
  },
  "luminance": 0.33145
}

Semantic roles & 50–950 ramp

primary
#B985EC
secondary
#E5F3D8
accent
#D51072
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B985EC

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

Preview Lab → · Contrast checker → · Palette generator →

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