#985DF2#985DF2

#985DF2 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.7% C 0.214 H 298.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#985DF2
RGBrgb(152, 93, 242)
HSLhsl(264, 85%, 66%)
HSVhsv(264, 62%, 95%)
CMYKcmyk(37.2%, 61.6%, 0%, 5.1%)
CIE-LABlab(52.86, 54.23, -66.37)
CIE-LCHlch(52.86, 85.70, 309.25°)
OKLaboklab(61.69% 0.1007 -0.1888)
OKLCHoklch(61.69% 0.214 298.1)
XYZxyz(32.8862, 20.9145, 86.2915)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DF2 #B7F25D
analogous
#5D6CF2 #985DF2 #E25DF2
triadic
#985DF2 #F2985D #5DF298
tetradic
#985DF2 #F25D6C #B7F25D #5DF2E2
square
#985DF2 #F25D6C #B7F25D #5DF2E2
split-complementary
#985DF2 #F2E25D #6CF25D
monochromatic
#5710C5 #7424ED #985DF2 #BC96F7 #E0CEFB

Accessibility & contrast

On white

4.05
#985DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#985DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DF2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DF2#FFFFFF#000000##000000
##985DF21.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#147DEF
Tritanopia (blue-blind)
#837E9F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #985df2;
/* rgb */ color: rgb(152, 93, 242);
/* oklch */ color: oklch(61.7% 0.214 298.1);
Tailwind
colors: {
  custom: {
    50: '#bc8ef7',
    500: '#985df2',
    950: '#000000',
  },
}
SCSS
$custom: #985df2;
$custom-light: #bc8ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#985df2",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 263.758,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6169,
    "c": 0.214,
    "h": 298.1
  },
  "luminance": 0.20915
}

Semantic roles & 50–950 ramp

primary
#985DF2
secondary
#DBEEBD
accent
#E2048A
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #985DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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