#985FE6#985FE6

#985FE6 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.2% C 0.197 H 300.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#985FE6
RGBrgb(152, 95, 230)
HSLhsl(265, 73%, 64%)
HSVhsv(265, 59%, 90%)
CMYKcmyk(33.9%, 58.7%, 0%, 9.8%)
CIE-LABlab(52.48, 50.19, -60.25)
CIE-LCHlch(52.48, 78.41, 309.80°)
OKLaboklab(61.17% 0.0989 -0.1708)
OKLCHoklch(61.17% 0.197 300.1)
XYZxyz(31.3206, 20.5728, 77.1684)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FE6 #ADE65F
analogous
#5F69E6 #985FE6 #DB5FE6
triadic
#985FE6 #E6985F #5FE698
tetradic
#985FE6 #E65F69 #ADE65F #5FE6DB
square
#985FE6 #E65F69 #ADE65F #5FE6DB
split-complementary
#985FE6 #E6DB5F #69E65F
monochromatic
#5A1BAF #762ADE #985FE6 #BA94EE #DCC9F7

Accessibility & contrast

On white

4.11
#985FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#985FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FE6
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FE6#FFFFFF#000000##000000
##985FE61.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#127DEA
Deuteranopia (green-blind)
#337CE3
Tritanopia (blue-blind)
#877B9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #985fe6;
/* rgb */ color: rgb(152, 95, 230);
/* oklch */ color: oklch(61.2% 0.197 300.1);
Tailwind
colors: {
  custom: {
    50: '#bb8fef',
    500: '#985fe6',
    950: '#000000',
  },
}
SCSS
$custom: #985fe6;
$custom-light: #bb8fef;
$custom-dark: #000000;
JSON
{
  "hex": "#985fe6",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 230
  },
  "hsl": {
    "h": 265.333,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6117,
    "c": 0.19742,
    "h": 300.1
  },
  "luminance": 0.20573
}

Semantic roles & 50–950 ramp

primary
#985FE6
secondary
#D4E8B9
accent
#D51082
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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