#B984E1#B984E1

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

Color values

HEX#B984E1
RGBrgb(185, 132, 225)
HSLhsl(274, 61%, 70%)
HSVhsv(274, 41%, 88%)
CMYKcmyk(17.8%, 41.3%, 0%, 11.8%)
CIE-LABlab(63.55, 37.48, -39.66)
CIE-LCHlch(63.55, 54.57, 313.38°)
OKLaboklab(70.1% 0.0903 -0.11)
OKLCHoklch(70.1% 0.142 309.4)
XYZxyz(41.8469, 32.2536, 75.2406)
Luminance0.3225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B984E1 #ACE184
analogous
#8B84E1 #B984E1 #E184DA
triadic
#B984E1 #E1B984 #84E1B9
tetradic
#B984E1 #E18B84 #ACE184 #84DAE1
square
#B984E1 #E18B84 #ACE184 #84DAE1
split-complementary
#B984E1 #DAE184 #84E18B
monochromatic
#7F2EBD #9D53D5 #B984E1 #D5B5ED #F1E6F9

Accessibility & contrast

On white

2.82
#B984E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#B984E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B984E1
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B984E1#FFFFFF#000000##000000
##B984E11.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7097E4
Deuteranopia (green-blind)
#7D9BDE
Tritanopia (blue-blind)
#B492A8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b984e1;
/* rgb */ color: rgb(185, 132, 225);
/* oklch */ color: oklch(70.1% 0.142 309.4);
Tailwind
colors: {
  custom: {
    50: '#cfa8ea',
    500: '#b984e1',
    950: '#000000',
  },
}
SCSS
$custom: #b984e1;
$custom-light: #cfa8ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b984e1",
  "rgb": {
    "r": 185,
    "g": 132,
    "b": 225
  },
  "hsl": {
    "h": 274.194,
    "s": 60.784,
    "l": 70
  },
  "oklch": {
    "l": 0.70096,
    "c": 0.14235,
    "h": 309.4
  },
  "luminance": 0.32253
}

Semantic roles & 50–950 ramp

primary
#B984E1
secondary
#DFEDD3
accent
#C81D67
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #B984E1

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

Preview Lab → · Contrast checker → · Palette generator →

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