#B985EA#B985EA

#B985EA is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.7% C 0.152 H 306.6°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#B985EA
RGBrgb(185, 133, 234)
HSLhsl(271, 71%, 72%)
HSVhsv(271, 43%, 92%)
CMYKcmyk(20.9%, 43.2%, 0%, 8.2%)
CIE-LABlab(64.19, 38.93, -43.65)
CIE-LCHlch(64.19, 58.49, 311.73°)
OKLaboklab(70.71% 0.0905 -0.1216)
OKLCHoklch(70.71% 0.152 306.6)
XYZxyz(43.2434, 33.0302, 81.9233)
Luminance0.3303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B985EA #B6EA85
analogous
#8785EA #B985EA #EA85E9
triadic
#B985EA #EAB985 #85EAB9
tetradic
#B985EA #EA8785 #B6EA85 #85E9EA
square
#B985EA #EA8785 #B6EA85 #85E9EA
split-complementary
#B985EA #E9EA85 #85EA87
monochromatic
#7D24D1 #9B51E1 #B985EA #D7B9F3 #F0E5FB

Accessibility & contrast

On white

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

On black

7.61
#B985EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B985EA
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B985EA#FFFFFF#000000##000000
##B985EA1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9AEE
Deuteranopia (green-blind)
#799CE7
Tritanopia (blue-blind)
#B295AC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b985ea;
/* rgb */ color: rgb(185, 133, 234);
/* oklch */ color: oklch(70.7% 0.152 306.6);
Tailwind
colors: {
  custom: {
    50: '#d0a9f1',
    500: '#b985ea',
    950: '#000000',
  },
}
SCSS
$custom: #b985ea;
$custom-light: #d0a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b985ea",
  "rgb": {
    "r": 185,
    "g": 133,
    "b": 234
  },
  "hsl": {
    "h": 270.891,
    "s": 70.629,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70707,
    "c": 0.15156,
    "h": 306.6
  },
  "luminance": 0.3303
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B985EA

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

Preview Lab → · Contrast checker → · Palette generator →

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