#985DF7#985DF7

#985DF7 is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.0% C 0.220 H 297.2°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#985DF7
RGBrgb(152, 93, 247)
HSLhsl(263, 91%, 67%)
HSVhsv(263, 62%, 97%)
CMYKcmyk(38.5%, 62.3%, 0%, 3.1%)
CIE-LABlab(53.19, 55.48, -68.62)
CIE-LCHlch(53.19, 88.24, 308.96°)
OKLaboklab(62.04% 0.1004 -0.1954)
OKLCHoklch(62.04% 0.22 297.2)
XYZxyz(33.6474, 21.2189, 90.3006)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DF7 #BCF75D
analogous
#5D6FF7 #985DF7 #E55DF7
triadic
#985DF7 #F7985D #5DF798
tetradic
#985DF7 #F75D6F #BCF75D #5DF7E5
square
#985DF7 #F75D6F #BCF75D #5DF7E5
split-complementary
#985DF7 #F7E55D #6FF75D
monochromatic
#560ACF #7323F4 #985DF7 #BD97FA #E2D2FD

Accessibility & contrast

On white

4.00
#985DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#985DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DF7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DF7#FFFFFF#000000##000000
##985DF71.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FC
Deuteranopia (green-blind)
#007DF4
Tritanopia (blue-blind)
#8180A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #985df7;
/* rgb */ color: rgb(152, 93, 247);
/* oklch */ color: oklch(62.0% 0.220 297.2);
Tailwind
colors: {
  custom: {
    50: '#bc8efb',
    500: '#985df7',
    950: '#000000',
  },
}
SCSS
$custom: #985df7;
$custom-light: #bc8efb;
$custom-dark: #000000;
JSON
{
  "hex": "#985df7",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 262.987,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62037,
    "c": 0.2197,
    "h": 297.2
  },
  "luminance": 0.2122
}

Semantic roles & 50–950 ramp

primary
#985DF7
secondary
#DEF1BF
accent
#E6008E
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #985DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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