#985BDE#985BDE

#985BDE is a mid, vivid violet. Relative luminance 0.194; OKLCH L 60.1% C 0.194 H 302.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#985BDE
RGBrgb(152, 91, 222)
HSLhsl(268, 66%, 61%)
HSVhsv(268, 59%, 87%)
CMYKcmyk(31.5%, 59%, 0%, 12.9%)
CIE-LABlab(51.19, 50.34, -57.81)
CIE-LCHlch(51.19, 76.66, 311.05°)
OKLaboklab(60.07% 0.1038 -0.1637)
OKLCHoklch(60.07% 0.194 302.4)
XYZxyz(29.8718, 19.4315, 71.2700)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BDE #A1DE5B
analogous
#5B60DE #985BDE #DA5BDE
triadic
#985BDE #DE985B #5BDE98
tetradic
#985BDE #DE5B60 #A1DE5B #5BDEDA
square
#985BDE #DE5B60 #A1DE5B #5BDEDA
split-complementary
#985BDE #DEDA5B #60DE5B
monochromatic
#5B209F #782AD2 #985BDE #B88EE8 #D8C1F3

Accessibility & contrast

On white

4.30
#985BDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#985BDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BDE
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BDE#FFFFFF#000000##000000
##985BDE1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1679E2
Deuteranopia (green-blind)
#377ADB
Tritanopia (blue-blind)
#8A7694
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #985bde;
/* rgb */ color: rgb(152, 91, 222);
/* oklch */ color: oklch(60.1% 0.194 302.4);
Tailwind
colors: {
  custom: {
    50: '#ba8ce9',
    500: '#985bde',
    950: '#000000',
  },
}
SCSS
$custom: #985bde;
$custom-light: #ba8ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#985bde",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 222
  },
  "hsl": {
    "h": 267.939,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60069,
    "c": 0.19383,
    "h": 302.4
  },
  "luminance": 0.19431
}

Semantic roles & 50–950 ramp

primary
#985BDE
secondary
#CCE3B2
accent
#CE1779
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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