#985EFE#985EFE

#985EFE is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.7% C 0.226 H 295.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#985EFE
RGBrgb(152, 94, 254)
HSLhsl(262, 99%, 68%)
HSVhsv(262, 63%, 100%)
CMYKcmyk(40.2%, 63%, 0%, 0.4%)
CIE-LABlab(53.85, 56.73, -71.43)
CIE-LCHlch(53.85, 91.22, 308.46°)
OKLaboklab(62.67% 0.0987 -0.2037)
OKLCHoklch(62.67% 0.226 295.9)
XYZxyz(34.8363, 21.8358, 96.1260)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EFE #C4FE5E
analogous
#5E74FE #985EFE #E85EFE
triadic
#985EFE #FE985E #5EFE98
tetradic
#985EFE #FE5E74 #C4FE5E #5EFEE8
square
#985EFE #FE5E74 #C4FE5E #5EFEE8
split-complementary
#985EFE #FEE85E #74FE5E
monochromatic
#5201E0 #7121FE #985EFE #BF9BFE #E6D8FF

Accessibility & contrast

On white

3.91
#985EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#985EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985EFE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EFE#FFFFFF#000000##000000
##985EFE1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #985efe;
/* rgb */ color: rgb(152, 94, 254);
/* oklch */ color: oklch(62.7% 0.226 295.9);
Tailwind
colors: {
  custom: {
    50: '#bd8fff',
    500: '#985efe',
    950: '#000000',
  },
}
SCSS
$custom: #985efe;
$custom-light: #bd8fff;
$custom-dark: #000000;
JSON
{
  "hex": "#985efe",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 254
  },
  "hsl": {
    "h": 261.75,
    "s": 98.765,
    "l": 68.235
  },
  "oklch": {
    "l": 0.62667,
    "c": 0.22637,
    "h": 295.9
  },
  "luminance": 0.21837
}

Semantic roles & 50–950 ramp

primary
#985EFE
secondary
#E3F4C4
accent
#E60092
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D18
muted
#827D86

Preview Lab

Preview with #985EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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