#985CED#985CED

#985CED is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.2% C 0.210 H 299.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#985CED
RGBrgb(152, 92, 237)
HSLhsl(265, 80%, 65%)
HSVhsv(265, 61%, 93%)
CMYKcmyk(35.9%, 61.2%, 0%, 7.1%)
CIE-LABlab(52.34, 53.50, -64.41)
CIE-LCHlch(52.34, 83.73, 309.71°)
OKLaboklab(61.21% 0.1021 -0.1831)
OKLCHoklch(61.21% 0.21 299.2)
XYZxyz(32.0583, 20.4438, 82.3614)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CED #B1ED5C
analogous
#5C69ED #985CED #E15CED
triadic
#985CED #ED985C #5CED98
tetradic
#985CED #ED5C69 #B1ED5C #5CEDE1
square
#985CED #ED5C69 #B1ED5C #5CEDE1
split-complementary
#985CED #EDE15C #69ED5C
monochromatic
#5915BA #7525E7 #985CED #BB93F3 #DECAF9

Accessibility & contrast

On white

4.13
#985CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#985CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CED
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CED#FFFFFF#000000##000000
##985CED1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF2
Deuteranopia (green-blind)
#207CEA
Tritanopia (blue-blind)
#857C9C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #985ced;
/* rgb */ color: rgb(152, 92, 237);
/* oklch */ color: oklch(61.2% 0.210 299.2);
Tailwind
colors: {
  custom: {
    50: '#bb8df4',
    500: '#985ced',
    950: '#000000',
  },
}
SCSS
$custom: #985ced;
$custom-light: #bb8df4;
$custom-dark: #000000;
JSON
{
  "hex": "#985ced",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 237
  },
  "hsl": {
    "h": 264.828,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61208,
    "c": 0.20963,
    "h": 299.2
  },
  "luminance": 0.20444
}

Semantic roles & 50–950 ramp

primary
#985CED
secondary
#D7EBB9
accent
#DC0985
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #985CED

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

Preview Lab → · Contrast checker → · Palette generator →

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