#B984E2#B984E2

#B984E2 is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.1% C 0.144 H 309.1°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#B984E2
RGBrgb(185, 132, 226)
HSLhsl(274, 62%, 70%)
HSVhsv(274, 42%, 89%)
CMYKcmyk(18.1%, 41.6%, 0%, 11.4%)
CIE-LABlab(63.60, 37.70, -40.15)
CIE-LCHlch(63.60, 55.07, 313.20°)
OKLaboklab(70.15% 0.0905 -0.1114)
OKLCHoklch(70.15% 0.144 309.1)
XYZxyz(41.9837, 32.3083, 75.9612)
Luminance0.3231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B984E2 #ADE284
analogous
#8A84E2 #B984E2 #E284DC
triadic
#B984E2 #E2B984 #84E2B9
tetradic
#B984E2 #E28A84 #ADE284 #84DCE2
square
#B984E2 #E28A84 #ADE284 #84DCE2
split-complementary
#B984E2 #DCE284 #84E28A
monochromatic
#7F2DBF #9D52D6 #B984E2 #D5B6EE #F1E6F9

Accessibility & contrast

On white

2.81
#B984E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#B984E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B984E2
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B984E2#FFFFFF#000000##000000
##B984E21.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7098E5
Deuteranopia (green-blind)
#7D9BDF
Tritanopia (blue-blind)
#B492A8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b984e2;
/* rgb */ color: rgb(185, 132, 226);
/* oklch */ color: oklch(70.1% 0.144 309.1);
Tailwind
colors: {
  custom: {
    50: '#cfa8eb',
    500: '#b984e2',
    950: '#000000',
  },
}
SCSS
$custom: #b984e2;
$custom-light: #cfa8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b984e2",
  "rgb": {
    "r": 185,
    "g": 132,
    "b": 226
  },
  "hsl": {
    "h": 273.83,
    "s": 61.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70145,
    "c": 0.14355,
    "h": 309.1
  },
  "luminance": 0.32308
}

Semantic roles & 50–950 ramp

primary
#B984E2
secondary
#DFEED4
accent
#CA1C68
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #B984E2

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

Preview Lab → · Contrast checker → · Palette generator →

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