#985FDE#985FDE

#985FDE is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.7% C 0.188 H 301.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#985FDE
RGBrgb(152, 95, 222)
HSLhsl(267, 66%, 62%)
HSVhsv(267, 57%, 87%)
CMYKcmyk(31.5%, 57.2%, 0%, 12.9%)
CIE-LABlab(51.99, 48.22, -56.53)
CIE-LCHlch(51.99, 74.30, 310.47°)
OKLaboklab(60.65% 0.099 -0.1599)
OKLCHoklch(60.65% 0.188 301.8)
XYZxyz(30.2229, 20.1337, 71.3870)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FDE #A5DE5F
analogous
#5F66DE #985FDE #D75FDE
triadic
#985FDE #DE985F #5FDE98
tetradic
#985FDE #DE5F66 #A5DE5F #5FDED7
square
#985FDE #DE5F66 #A5DE5F #5FDED7
split-complementary
#985FDE #DED75F #66DE5F
monochromatic
#5B21A1 #772CD4 #985FDE #B992E8 #D9C4F3

Accessibility & contrast

On white

4.18
#985FDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#985FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FDE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FDE#FFFFFF#000000##000000
##985FDE1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#257BE2
Deuteranopia (green-blind)
#3D7BDB
Tritanopia (blue-blind)
#8A7995
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #985fde;
/* rgb */ color: rgb(152, 95, 222);
/* oklch */ color: oklch(60.7% 0.188 301.8);
Tailwind
colors: {
  custom: {
    50: '#ba8fe9',
    500: '#985fde',
    950: '#000000',
  },
}
SCSS
$custom: #985fde;
$custom-light: #ba8fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#985fde",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 222
  },
  "hsl": {
    "h": 266.929,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60654,
    "c": 0.18807,
    "h": 301.8
  },
  "luminance": 0.20134
}

Semantic roles & 50–950 ramp

primary
#985FDE
secondary
#CFE4B5
accent
#CE187C
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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