#985FE8#985FE8

#985FE8 is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.3% C 0.200 H 299.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#985FE8
RGBrgb(152, 95, 232)
HSLhsl(265, 75%, 64%)
HSVhsv(265, 59%, 91%)
CMYKcmyk(34.5%, 59.1%, 0%, 9%)
CIE-LABlab(52.60, 50.69, -61.17)
CIE-LCHlch(52.60, 79.44, 309.64°)
OKLaboklab(61.3% 0.0989 -0.1736)
OKLCHoklch(61.3% 0.2 299.7)
XYZxyz(31.6030, 20.6857, 78.6560)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FE8 #AFE85F
analogous
#5F6BE8 #985FE8 #DD5FE8
triadic
#985FE8 #E8985F #5FE898
tetradic
#985FE8 #E85F6B #AFE85F #5FE8DD
square
#985FE8 #E85F6B #AFE85F #5FE8DD
split-complementary
#985FE8 #E8DD5F #6BE85F
monochromatic
#591AB3 #7629E0 #985FE8 #BA95F0 #DDCAF7

Accessibility & contrast

On white

4.09
#985FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#985FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FE8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FE8#FFFFFF#000000##000000
##985FE81.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A7DEC
Deuteranopia (green-blind)
#307CE5
Tritanopia (blue-blind)
#877C9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #985fe8;
/* rgb */ color: rgb(152, 95, 232);
/* oklch */ color: oklch(61.3% 0.200 299.7);
Tailwind
colors: {
  custom: {
    50: '#bb8ff0',
    500: '#985fe8',
    950: '#000000',
  },
}
SCSS
$custom: #985fe8;
$custom-light: #bb8ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#985fe8",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 232
  },
  "hsl": {
    "h": 264.964,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61302,
    "c": 0.19975,
    "h": 299.7
  },
  "luminance": 0.20686
}

Semantic roles & 50–950 ramp

primary
#985FE8
secondary
#D5E9BA
accent
#D70E84
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #985FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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