#985FFF#985FFF

#985FFF is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 62.9% C 0.226 H 295.6°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#985FFF
RGBrgb(152, 95, 255)
HSLhsl(261, 100%, 69%)
HSVhsv(261, 63%, 100%)
CMYKcmyk(40.4%, 62.7%, 0%, 0%)
CIE-LABlab(54.11, 56.48, -71.56)
CIE-LCHlch(54.11, 91.16, 308.28°)
OKLaboklab(62.88% 0.0976 -0.2041)
OKLCHoklch(62.88% 0.226 295.6)
XYZxyz(35.0864, 22.0791, 97.0015)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FFF #C6FF5F
analogous
#5F76FF #985FFF #E85FFF
triadic
#985FFF #FF985F #5FFF98
tetradic
#985FFF #FF5F76 #C6FF5F #5FFFE8
square
#985FFF #FF5F76 #C6FF5F #5FFFE8
split-complementary
#985FFF #FFE85F #76FF5F
monochromatic
#5100E4 #7122FF #985FFF #BF9CFF #E7D9FF

Accessibility & contrast

On white

3.88
#985FFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#985FFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FFF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FFF#FFFFFF#000000##000000
##985FFF1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#007FFC
Tritanopia (blue-blind)
#7D84A7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #985fff;
/* rgb */ color: rgb(152, 95, 255);
/* oklch */ color: oklch(62.9% 0.226 295.6);
Tailwind
colors: {
  custom: {
    50: '#bd8fff',
    500: '#985fff',
    950: '#000000',
  },
}
SCSS
$custom: #985fff;
$custom-light: #bd8fff;
$custom-dark: #000000;
JSON
{
  "hex": "#985fff",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 255
  },
  "hsl": {
    "h": 261.375,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.62876,
    "c": 0.22624,
    "h": 295.6
  },
  "luminance": 0.2208
}

Semantic roles & 50–950 ramp

primary
#985FFF
secondary
#E4F5C5
accent
#E60094
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #985FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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