#985EF6#985EF6

#985EF6 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.1% C 0.217 H 297.2°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#985EF6
RGBrgb(152, 94, 246)
HSLhsl(263, 89%, 67%)
HSVhsv(263, 62%, 96%)
CMYKcmyk(38.2%, 61.8%, 0%, 3.5%)
CIE-LABlab(53.31, 54.71, -67.86)
CIE-LCHlch(53.31, 87.17, 308.88°)
OKLaboklab(62.11% 0.0993 -0.1932)
OKLCHoklch(62.11% 0.217 297.2)
XYZxyz(33.5819, 21.3341, 89.5195)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EF6 #BCF65E
analogous
#5E70F6 #985EF6 #E45EF6
triadic
#985EF6 #F6985E #5EF698
tetradic
#985EF6 #F65E70 #BCF65E #5EF6E4
square
#985EF6 #F65E70 #BCF65E #5EF6E4
split-complementary
#985EF6 #F6E45E #70F65E
monochromatic
#560CCE #7324F3 #985EF6 #BD98F9 #E2D2FC

Accessibility & contrast

On white

3.99
#985EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#985EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985EF6
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EF6#FFFFFF#000000##000000
##985EF61.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FB
Deuteranopia (green-blind)
#057EF3
Tritanopia (blue-blind)
#8180A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #985ef6;
/* rgb */ color: rgb(152, 94, 246);
/* oklch */ color: oklch(62.1% 0.217 297.2);
Tailwind
colors: {
  custom: {
    50: '#bc8efa',
    500: '#985ef6',
    950: '#000000',
  },
}
SCSS
$custom: #985ef6;
$custom-light: #bc8efa;
$custom-dark: #000000;
JSON
{
  "hex": "#985ef6",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 246
  },
  "hsl": {
    "h": 262.895,
    "s": 89.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62106,
    "c": 0.21725,
    "h": 297.2
  },
  "luminance": 0.21335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #985EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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