#985CDE#985CDE

#985CDE is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.2% C 0.192 H 302.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#985CDE
RGBrgb(152, 92, 222)
HSLhsl(268, 66%, 62%)
HSVhsv(268, 59%, 87%)
CMYKcmyk(31.5%, 58.6%, 0%, 12.9%)
CIE-LABlab(51.39, 49.82, -57.49)
CIE-LCHlch(51.39, 76.07, 310.91°)
OKLaboklab(60.21% 0.1026 -0.1627)
OKLCHoklch(60.21% 0.192 302.2)
XYZxyz(29.9578, 19.6036, 71.2987)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CDE #A2DE5C
analogous
#5C61DE #985CDE #D95CDE
triadic
#985CDE #DE985C #5CDE98
tetradic
#985CDE #DE5C61 #A2DE5C #5CDED9
square
#985CDE #DE5C61 #A2DE5C #5CDED9
split-complementary
#985CDE #DED95C #61DE5C
monochromatic
#5B209F #782BD2 #985CDE #B88FE8 #D8C2F3

Accessibility & contrast

On white

4.27
#985CDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#985CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CDE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CDE#FFFFFF#000000##000000
##985CDE1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B79E2
Deuteranopia (green-blind)
#397ADB
Tritanopia (blue-blind)
#8A7794
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #985cde;
/* rgb */ color: rgb(152, 92, 222);
/* oklch */ color: oklch(60.2% 0.192 302.2);
Tailwind
colors: {
  custom: {
    50: '#ba8de9',
    500: '#985cde',
    950: '#000000',
  },
}
SCSS
$custom: #985cde;
$custom-light: #ba8de9;
$custom-dark: #000000;
JSON
{
  "hex": "#985cde",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 222
  },
  "hsl": {
    "h": 267.692,
    "s": 66.327,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60214,
    "c": 0.19241,
    "h": 302.2
  },
  "luminance": 0.19604
}

Semantic roles & 50–950 ramp

primary
#985CDE
secondary
#CDE3B3
accent
#CE177A
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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