#985EF7#985EF7

#985EF7 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.2% C 0.218 H 297.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#985EF7
RGBrgb(152, 94, 247)
HSLhsl(263, 91%, 67%)
HSVhsv(263, 62%, 97%)
CMYKcmyk(38.5%, 61.9%, 0%, 3.1%)
CIE-LABlab(53.38, 54.96, -68.31)
CIE-LCHlch(53.38, 87.67, 308.82°)
OKLaboklab(62.18% 0.0993 -0.1945)
OKLCHoklch(62.18% 0.218 297)
XYZxyz(33.7358, 21.3956, 90.3300)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EF7 #BDF75E
analogous
#5E71F7 #985EF7 #E55EF7
triadic
#985EF7 #F7985E #5EF798
tetradic
#985EF7 #F75E71 #BDF75E #5EF7E5
square
#985EF7 #F75E71 #BDF75E #5EF7E5
split-complementary
#985EF7 #F7E55E #71F75E
monochromatic
#550AD0 #7324F4 #985EF7 #BD98FA #E3D3FD

Accessibility & contrast

On white

3.98
#985EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#985EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985EF7
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EF7#FFFFFF#000000##000000
##985EF71.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #985ef7;
/* rgb */ color: rgb(152, 94, 247);
/* oklch */ color: oklch(62.2% 0.218 297.0);
Tailwind
colors: {
  custom: {
    50: '#bc8efb',
    500: '#985ef7',
    950: '#000000',
  },
}
SCSS
$custom: #985ef7;
$custom-light: #bc8efb;
$custom-dark: #000000;
JSON
{
  "hex": "#985ef7",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 247
  },
  "hsl": {
    "h": 262.745,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62176,
    "c": 0.2184,
    "h": 297
  },
  "luminance": 0.21396
}

Semantic roles & 50–950 ramp

primary
#985EF7
secondary
#DEF1C0
accent
#E6008F
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #985EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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