#985FD0#985FD0

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

Color values

HEX#985FD0
RGBrgb(152, 95, 208)
HSLhsl(270, 55%, 59%)
HSVhsv(270, 54%, 82%)
CMYKcmyk(26.9%, 54.3%, 0%, 18.4%)
CIE-LABlab(51.17, 44.85, -49.89)
CIE-LCHlch(51.17, 67.08, 311.95°)
OKLaboklab(59.79% 0.0986 -0.1404)
OKLCHoklch(59.79% 0.172 305.1)
XYZxyz(28.4238, 19.4140, 61.9122)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FD0 #97D05F
analogous
#605FD0 #985FD0 #D05FD0
triadic
#985FD0 #D0985F #5FD098
tetradic
#985FD0 #D0605F #97D05F #5FD0D0
square
#985FD0 #D0605F #97D05F #5FD0D0
split-complementary
#985FD0 #D0D05F #5FD060
monochromatic
#5B298C #7937BB #985FD0 #B68EDE #D5BEEC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##985FD0#FFFFFF#000000##000000
##985FD01.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3878D4
Deuteranopia (green-blind)
#4B7ACD
Tritanopia (blue-blind)
#8F748E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #985fd0;
/* rgb */ color: rgb(152, 95, 208);
/* oklch */ color: oklch(59.8% 0.172 305.1);
Tailwind
colors: {
  custom: {
    50: '#b98edf',
    500: '#985fd0',
    950: '#000000',
  },
}
SCSS
$custom: #985fd0;
$custom-light: #b98edf;
$custom-dark: #000000;
JSON
{
  "hex": "#985fd0",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 208
  },
  "hsl": {
    "h": 270.265,
    "s": 54.589,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59788,
    "c": 0.17161,
    "h": 305.1
  },
  "luminance": 0.19414
}

Semantic roles & 50–950 ramp

primary
#985FD0
secondary
#C5DBAF
accent
#DE4A93
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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