#985EFF#985EFF

#985EFF is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.7% C 0.228 H 295.7°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#985EFF
RGBrgb(152, 94, 255)
HSLhsl(262, 100%, 68%)
HSVhsv(262, 63%, 100%)
CMYKcmyk(40.4%, 63.1%, 0%, 0%)
CIE-LABlab(53.92, 56.99, -71.87)
CIE-LCHlch(53.92, 91.72, 308.41°)
OKLaboklab(62.74% 0.0986 -0.205)
OKLCHoklch(62.74% 0.228 295.7)
XYZxyz(34.9969, 21.9001, 96.9716)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EFF #C5FF5E
analogous
#5E74FF #985EFF #E85EFF
triadic
#985EFF #FF985E #5EFF98
tetradic
#985EFF #FF5E74 #C5FF5E #5EFFE8
square
#985EFF #FF5E74 #C5FF5E #5EFFE8
split-complementary
#985EFF #FFE85E #74FF5E
monochromatic
#5200E3 #7121FF #985EFF #BF9BFF #E6D8FF

Accessibility & contrast

On white

3.90
#985EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#985EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985EFF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EFF#FFFFFF#000000##000000
##985EFF1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #985eff;
/* rgb */ color: rgb(152, 94, 255);
/* oklch */ color: oklch(62.7% 0.228 295.7);
Tailwind
colors: {
  custom: {
    50: '#bd8fff',
    500: '#985eff',
    950: '#000000',
  },
}
SCSS
$custom: #985eff;
$custom-light: #bd8fff;
$custom-dark: #000000;
JSON
{
  "hex": "#985eff",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 255
  },
  "hsl": {
    "h": 261.615,
    "s": 100,
    "l": 68.431
  },
  "oklch": {
    "l": 0.62739,
    "c": 0.2275,
    "h": 295.7
  },
  "luminance": 0.21901
}

Semantic roles & 50–950 ramp

primary
#985EFF
secondary
#E3F5C4
accent
#E60093
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D18
muted
#827D86

Preview Lab

Preview with #985EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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