#985DFF#985DFF

#985DFF is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.6% C 0.229 H 295.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#985DFF
RGBrgb(152, 93, 255)
HSLhsl(262, 100%, 68%)
HSVhsv(262, 64%, 100%)
CMYKcmyk(40.4%, 63.5%, 0%, 0%)
CIE-LABlab(53.73, 57.50, -72.18)
CIE-LCHlch(53.73, 92.28, 308.54°)
OKLaboklab(62.6% 0.0997 -0.2059)
OKLCHoklch(62.6% 0.229 295.8)
XYZxyz(34.9085, 21.7234, 96.9422)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DFF #C4FF5D
analogous
#5D73FF #985DFF #E95DFF
triadic
#985DFF #FF985D #5DFF98
tetradic
#985DFF #FF5D73 #C4FF5D #5DFFE9
square
#985DFF #FF5D73 #C4FF5D #5DFFE9
split-complementary
#985DFF #FFE95D #73FF5D
monochromatic
#5200E2 #7120FF #985DFF #BF9AFF #E6D7FF

Accessibility & contrast

On white

3.93
#985DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#985DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DFF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DFF#FFFFFF#000000##000000
##985DFF1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#007EFC
Tritanopia (blue-blind)
#7E82A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #985dff;
/* rgb */ color: rgb(152, 93, 255);
/* oklch */ color: oklch(62.6% 0.229 295.8);
Tailwind
colors: {
  custom: {
    50: '#bd8eff',
    500: '#985dff',
    950: '#000000',
  },
}
SCSS
$custom: #985dff;
$custom-light: #bd8eff;
$custom-dark: #000000;
JSON
{
  "hex": "#985dff",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 255
  },
  "hsl": {
    "h": 261.852,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.62602,
    "c": 0.22876,
    "h": 295.8
  },
  "luminance": 0.21724
}

Semantic roles & 50–950 ramp

primary
#985DFF
secondary
#E3F4C3
accent
#E60092
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #985DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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