#985EDF#985EDF

#985EDF is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.6% C 0.191 H 301.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#985EDF
RGBrgb(152, 94, 223)
HSLhsl(267, 67%, 62%)
HSVhsv(267, 58%, 87%)
CMYKcmyk(31.8%, 57.8%, 0%, 12.5%)
CIE-LABlab(51.85, 49.00, -57.32)
CIE-LCHlch(51.85, 75.41, 310.53°)
OKLaboklab(60.57% 0.1002 -0.1622)
OKLCHoklch(60.57% 0.191 301.7)
XYZxyz(30.2678, 20.0084, 72.0651)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EDF #A5DF5E
analogous
#5E65DF #985EDF #D95EDF
triadic
#985EDF #DF985E #5EDF98
tetradic
#985EDF #DF5E65 #A5DF5E #5EDFD9
square
#985EDF #DF5E65 #A5DF5E #5EDFD9
split-complementary
#985EDF #DFD95E #65DF5E
monochromatic
#5B20A2 #772BD5 #985EDF #B991E9 #D9C4F3

Accessibility & contrast

On white

4.20
#985EDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#985EDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985EDF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EDF#FFFFFF#000000##000000
##985EDF1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#207BE3
Deuteranopia (green-blind)
#3B7BDC
Tritanopia (blue-blind)
#8A7896
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #985edf;
/* rgb */ color: rgb(152, 94, 223);
/* oklch */ color: oklch(60.6% 0.191 301.7);
Tailwind
colors: {
  custom: {
    50: '#ba8eea',
    500: '#985edf',
    950: '#000000',
  },
}
SCSS
$custom: #985edf;
$custom-light: #ba8eea;
$custom-dark: #000000;
JSON
{
  "hex": "#985edf",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 223
  },
  "hsl": {
    "h": 266.977,
    "s": 66.839,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6057,
    "c": 0.19069,
    "h": 301.7
  },
  "luminance": 0.20009
}

Semantic roles & 50–950 ramp

primary
#985EDF
secondary
#CFE4B5
accent
#CF177C
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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