#985FE0#985FE0

#985FE0 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.8% C 0.190 H 301.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#985FE0
RGBrgb(152, 95, 224)
HSLhsl(267, 68%, 63%)
HSVhsv(267, 58%, 88%)
CMYKcmyk(32.1%, 57.6%, 0%, 12.2%)
CIE-LABlab(52.11, 48.71, -57.46)
CIE-LCHlch(52.11, 75.33, 310.29°)
OKLaboklab(60.78% 0.099 -0.1627)
OKLCHoklch(60.78% 0.19 301.3)
XYZxyz(30.4925, 20.2415, 72.8071)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FE0 #A7E05F
analogous
#5F66E0 #985FE0 #D95FE0
triadic
#985FE0 #E0985F #5FE098
tetradic
#985FE0 #E05F66 #A7E05F #5FE0D9
square
#985FE0 #E05F66 #A7E05F #5FE0D9
split-complementary
#985FE0 #E0D95F #66E05F
monochromatic
#5B20A5 #772CD6 #985FE0 #B992EA #DAC6F4

Accessibility & contrast

On white

4.16
#985FE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#985FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FE0
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FE0#FFFFFF#000000##000000
##985FE01.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#217CE4
Deuteranopia (green-blind)
#3B7CDD
Tritanopia (blue-blind)
#8A7996
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #985fe0;
/* rgb */ color: rgb(152, 95, 224);
/* oklch */ color: oklch(60.8% 0.190 301.3);
Tailwind
colors: {
  custom: {
    50: '#ba8fea',
    500: '#985fe0',
    950: '#000000',
  },
}
SCSS
$custom: #985fe0;
$custom-light: #ba8fea;
$custom-dark: #000000;
JSON
{
  "hex": "#985fe0",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 224
  },
  "hsl": {
    "h": 266.512,
    "s": 67.539,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60782,
    "c": 0.19041,
    "h": 301.3
  },
  "luminance": 0.20242
}

Semantic roles & 50–950 ramp

primary
#985FE0
secondary
#D0E5B6
accent
#CF167E
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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