#985BDB#985BDB

#985BDB is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.9% C 0.190 H 303.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#985BDB
RGBrgb(152, 91, 219)
HSLhsl(269, 64%, 61%)
HSVhsv(269, 58%, 86%)
CMYKcmyk(30.6%, 58.4%, 0%, 14.1%)
CIE-LABlab(51.00, 49.62, -56.41)
CIE-LCHlch(51.00, 75.12, 311.34°)
OKLaboklab(59.88% 0.1039 -0.1596)
OKLCHoklch(59.88% 0.19 303.1)
XYZxyz(29.4733, 19.2721, 69.1712)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BDB #9EDB5B
analogous
#5B5EDB #985BDB #D85BDB
triadic
#985BDB #DB985B #5BDB98
tetradic
#985BDB #DB5B5E #9EDB5B #5BDBD8
square
#985BDB #DB5B5E #9EDB5B #5BDBD8
split-complementary
#985BDB #DBD85B #5EDB5B
monochromatic
#5B229A #792DCC #985BDB #B88DE6 #D7BFF1

Accessibility & contrast

On white

4.33
#985BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#985BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BDB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BDB#FFFFFF#000000##000000
##985BDB1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E78DF
Deuteranopia (green-blind)
#3B79D8
Tritanopia (blue-blind)
#8B7592
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #985bdb;
/* rgb */ color: rgb(152, 91, 219);
/* oklch */ color: oklch(59.9% 0.190 303.1);
Tailwind
colors: {
  custom: {
    50: '#ba8ce7',
    500: '#985bdb',
    950: '#000000',
  },
}
SCSS
$custom: #985bdb;
$custom-light: #ba8ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#985bdb",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 268.594,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59876,
    "c": 0.19039,
    "h": 303.1
  },
  "luminance": 0.19272
}

Semantic roles & 50–950 ramp

primary
#985BDB
secondary
#CAE1B1
accent
#CC1A77
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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