#985BDD#985BDD

#985BDD is a mid, vivid violet. Relative luminance 0.194; OKLCH L 60.0% C 0.193 H 302.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#985BDD
RGBrgb(152, 91, 221)
HSLhsl(268, 66%, 61%)
HSVhsv(268, 59%, 87%)
CMYKcmyk(31.2%, 58.8%, 0%, 13.3%)
CIE-LABlab(51.13, 50.10, -57.34)
CIE-LCHlch(51.13, 76.15, 311.14°)
OKLaboklab(60% 0.1039 -0.1623)
OKLCHoklch(60% 0.193 302.6)
XYZxyz(29.7381, 19.3780, 70.5662)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BDD #A0DD5B
analogous
#5B5FDD #985BDD #D95BDD
triadic
#985BDD #DD985B #5BDD98
tetradic
#985BDD #DD5B5F #A0DD5B #5BDDD9
square
#985BDD #DD5B5F #A0DD5B #5BDDD9
split-complementary
#985BDD #DDD95B #5FDD5B
monochromatic
#5B219D #782BD0 #985BDD #B88EE8 #D8C0F2

Accessibility & contrast

On white

4.31
#985BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#985BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BDD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BDD#FFFFFF#000000##000000
##985BDD1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1979E1
Deuteranopia (green-blind)
#3979DA
Tritanopia (blue-blind)
#8B7593
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #985bdd;
/* rgb */ color: rgb(152, 91, 221);
/* oklch */ color: oklch(60.0% 0.193 302.6);
Tailwind
colors: {
  custom: {
    50: '#ba8ce8',
    500: '#985bdd',
    950: '#000000',
  },
}
SCSS
$custom: #985bdd;
$custom-light: #ba8ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#985bdd",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 221
  },
  "hsl": {
    "h": 268.154,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60004,
    "c": 0.19269,
    "h": 302.6
  },
  "luminance": 0.19378
}

Semantic roles & 50–950 ramp

primary
#985BDD
secondary
#CBE2B1
accent
#CE1878
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985BDD

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

Preview Lab → · Contrast checker → · Palette generator →

#985BDD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva