#985CE2#985CE2

#985CE2 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.5% C 0.197 H 301.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#985CE2
RGBrgb(152, 92, 226)
HSLhsl(267, 70%, 62%)
HSVhsv(267, 59%, 89%)
CMYKcmyk(32.7%, 59.3%, 0%, 11.4%)
CIE-LABlab(51.63, 50.79, -59.35)
CIE-LCHlch(51.63, 78.12, 310.55°)
OKLaboklab(60.47% 0.1026 -0.1682)
OKLCHoklch(60.47% 0.197 301.4)
XYZxyz(30.5003, 19.8206, 74.1556)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CE2 #A6E25C
analogous
#5C63E2 #985CE2 #DB5CE2
triadic
#985CE2 #E2985C #5CE298
tetradic
#985CE2 #E25C63 #A6E25C #5CE2DB
square
#985CE2 #E25C63 #A6E25C #5CE2DB
split-complementary
#985CE2 #E2DB5C #63E25C
monochromatic
#5B1EA6 #7728D9 #985CE2 #B990EB #DAC4F4

Accessibility & contrast

On white

4.23
#985CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#985CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CE2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CE2#FFFFFF#000000##000000
##985CE21.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F7AE6
Deuteranopia (green-blind)
#347ADF
Tritanopia (blue-blind)
#897896
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #985ce2;
/* rgb */ color: rgb(152, 92, 226);
/* oklch */ color: oklch(60.5% 0.197 301.4);
Tailwind
colors: {
  custom: {
    50: '#bb8dec',
    500: '#985ce2',
    950: '#000000',
  },
}
SCSS
$custom: #985ce2;
$custom-light: #bb8dec;
$custom-dark: #000000;
JSON
{
  "hex": "#985ce2",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 226
  },
  "hsl": {
    "h": 266.866,
    "s": 69.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60474,
    "c": 0.19702,
    "h": 301.4
  },
  "luminance": 0.19821
}

Semantic roles & 50–950 ramp

primary
#985CE2
secondary
#CFE5B4
accent
#D2147D
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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