#985AD7#985AD7

#985AD7 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.5% C 0.187 H 304.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#985AD7
RGBrgb(152, 90, 215)
HSLhsl(270, 61%, 60%)
HSVhsv(270, 58%, 84%)
CMYKcmyk(29.3%, 58.1%, 0%, 15.7%)
CIE-LABlab(50.56, 49.19, -54.84)
CIE-LCHlch(50.56, 73.67, 311.89°)
OKLaboklab(59.48% 0.1051 -0.155)
OKLCHoklch(59.48% 0.187 304.2)
XYZxyz(28.8681, 18.8941, 66.4029)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AD7 #99D75A
analogous
#5A5AD7 #985AD7 #D75AD7
triadic
#985AD7 #D7985A #5AD798
tetradic
#985AD7 #D75A5A #99D75A #5AD7D7
square
#985AD7 #D75A5A #99D75A #5AD7D7
split-complementary
#985AD7 #D7D75A #5AD75A
monochromatic
#5B2493 #7930C4 #985AD7 #B78BE3 #D5BDEF

Accessibility & contrast

On white

4.39
#985AD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#985AD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985AD7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AD7#FFFFFF#000000##000000
##985AD71.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2277DB
Deuteranopia (green-blind)
#3E78D4
Tritanopia (blue-blind)
#8D7390
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985ad7;
/* rgb */ color: rgb(152, 90, 215);
/* oklch */ color: oklch(59.5% 0.187 304.2);
Tailwind
colors: {
  custom: {
    50: '#ba8be4',
    500: '#985ad7',
    950: '#000000',
  },
}
SCSS
$custom: #985ad7;
$custom-light: #ba8be4;
$custom-dark: #000000;
JSON
{
  "hex": "#985ad7",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 215
  },
  "hsl": {
    "h": 269.76,
    "s": 60.976,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59475,
    "c": 0.18725,
    "h": 304.2
  },
  "luminance": 0.18894
}

Semantic roles & 50–950 ramp

primary
#985AD7
secondary
#C7DFAE
accent
#E44495
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985AD7

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

Preview Lab → · Contrast checker → · Palette generator →

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