#985FE1#985FE1

#985FE1 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.8% C 0.192 H 301.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#985FE1
RGBrgb(152, 95, 225)
HSLhsl(266, 68%, 63%)
HSVhsv(266, 58%, 88%)
CMYKcmyk(32.4%, 57.8%, 0%, 11.8%)
CIE-LABlab(52.17, 48.96, -57.93)
CIE-LCHlch(52.17, 75.84, 310.20°)
OKLaboklab(60.85% 0.099 -0.164)
OKLCHoklch(60.85% 0.192 301.1)
XYZxyz(30.6285, 20.2959, 73.5234)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FE1 #A8E15F
analogous
#5F67E1 #985FE1 #D95FE1
triadic
#985FE1 #E1985F #5FE198
tetradic
#985FE1 #E15F67 #A8E15F #5FE1D9
square
#985FE1 #E15F67 #A8E15F #5FE1D9
split-complementary
#985FE1 #E1D95F #67E15F
monochromatic
#5A1FA6 #772BD7 #985FE1 #B993EB #DAC6F4

Accessibility & contrast

On white

4.15
#985FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#985FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FE1
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FE1#FFFFFF#000000##000000
##985FE11.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F7CE5
Deuteranopia (green-blind)
#3A7CDE
Tritanopia (blue-blind)
#897A97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #985fe1;
/* rgb */ color: rgb(152, 95, 225);
/* oklch */ color: oklch(60.8% 0.192 301.1);
Tailwind
colors: {
  custom: {
    50: '#ba8feb',
    500: '#985fe1',
    950: '#000000',
  },
}
SCSS
$custom: #985fe1;
$custom-light: #ba8feb;
$custom-dark: #000000;
JSON
{
  "hex": "#985fe1",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 225
  },
  "hsl": {
    "h": 266.308,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60846,
    "c": 0.19157,
    "h": 301.1
  },
  "luminance": 0.20296
}

Semantic roles & 50–950 ramp

primary
#985FE1
secondary
#D1E5B6
accent
#D0157E
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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