#B985E2#B985E2

#B985E2 is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.3% C 0.142 H 308.9°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#B985E2
RGBrgb(185, 133, 226)
HSLhsl(274, 62%, 70%)
HSVhsv(274, 41%, 89%)
CMYKcmyk(18.1%, 41.2%, 0%, 11.4%)
CIE-LABlab(63.82, 37.15, -39.80)
CIE-LCHlch(63.82, 54.44, 313.03°)
OKLaboklab(70.31% 0.0891 -0.1104)
OKLCHoklch(70.31% 0.142 308.9)
XYZxyz(42.1200, 32.5808, 76.0066)
Luminance0.3258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B985E2 #AEE285
analogous
#8A85E2 #B985E2 #E285DD
triadic
#B985E2 #E2B985 #85E2B9
tetradic
#B985E2 #E28A85 #AEE285 #85DDE2
square
#B985E2 #E28A85 #AEE285 #85DDE2
split-complementary
#B985E2 #DDE285 #85E28A
monochromatic
#7F2DBF #9D54D6 #B985E2 #D5B6EE #F1E6F9

Accessibility & contrast

On white

2.79
#B985E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#B985E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B985E2
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B985E2#FFFFFF#000000##000000
##B985E21.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7198E5
Deuteranopia (green-blind)
#7D9BDF
Tritanopia (blue-blind)
#B493A9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b985e2;
/* rgb */ color: rgb(185, 133, 226);
/* oklch */ color: oklch(70.3% 0.142 308.9);
Tailwind
colors: {
  custom: {
    50: '#cfa9eb',
    500: '#b985e2',
    950: '#000000',
  },
}
SCSS
$custom: #b985e2;
$custom-light: #cfa9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b985e2",
  "rgb": {
    "r": 185,
    "g": 133,
    "b": 226
  },
  "hsl": {
    "h": 273.548,
    "s": 61.589,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70313,
    "c": 0.14189,
    "h": 308.9
  },
  "luminance": 0.3258
}

Semantic roles & 50–950 ramp

primary
#B985E2
secondary
#E0EED5
accent
#C91C69
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #B985E2

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

Preview Lab → · Contrast checker → · Palette generator →

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